I need to make frequent changes between the local and the server due to project reasons, so I want to use git to manage it. I want to implement the local warehouse, github
warehouse and the server together. After the local modification is made, git push origin branch
Synchronization, that is, after modifying the local file, use the git push origin branch
command to update the github repository and the server together. Now the local repository and the github repository have been synchronized. How to achieve this?
git hook
Github has a webhook function, you can check it out
Thanks for the invitation, everyone above has answered