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

Question:

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

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

However, these files end up not being included in the project repository (private), which is always out of date. If I need to edit any of these new files, I end up having to download them from the server.

I would like to know how I can add these new files to the repository after uploading, in order to have them locally when running git pull , for example.

Answer:

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

You need:

Scroll to Top
AllEscort