Git - Push

> Code - (Programming|Computer) Language > Code Versioning > Git

1 - About

push will share your work (one or several branch) by pushing it to a remote.

Advertising

3 - Syntax

git push <remote> <branch>
 
# or
git push origin localBranchName:remoteBranchName

Git automatically expands the branchName out to refs/heads/branchName:refs/heads/branchName, which means:

  • Take my branchName local branch and push it to update the remote’s branchName branch.”
code/version/git/push.txt · Last modified: 2018/06/11 12:28 by gerardnico