简体   繁体   中英

git push local branch to server

I have a cloned repository to my local folder (made changes in localhost and etc). How do I push the changes to the server? I was using GitShell commands on my branch, with a git add, commit, and push.

You push local changes to a remote repo with the push command:

git push origin <branch>

You can read more about how to push , along with other Git tools and workflows, from the FREE online Pro Git book .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM