How to add files that were added to the project via upload to the git repository?

3

I have a system where you can add extensions and plugins via web interface by uploading a .zip file.

This .zip file is uncompressed by the system and the files go to a specific folder on the server.

However, these files are not included in the project repository (private), which is always outdated. If I need to edit any of these new files, I just have to download them from the server.

I'd like to know how I can add these new files to the repository after uploading, so I have them locally by running git pull , for example.

    
asked by anonymous 18.01.2016 / 15:43

2 answers

1

The best way for you to do this would be to use the GitHub API .

You need:

18.01.2016 / 16:06
0

You have already verified at the root of the project if you have any files called

". gitignore"

This file may be ignoring zip files (* .zip) or the folder where the upload is made!

    
18.01.2016 / 16:21