git push
Works likegit push <remote>, where <remote> is the current branch’s remote (or origin, if no remote is configured for the current branch).git push origin
git push到變數"remote.origin.merge"所指定的地方.
got push origin :
push到遠端的origingit push origin master
???
git push origin HEAD
A handy way to push the current branch to the same name on the remote
Push the current branch to the remote ref matching
git push origin HEAD:master
Push the current branch to the remote ref matching master in the origin repository. This form is convenient to push the current branch without thinking about its local name.
git push origin master:refs/heads/experimental
Create the branch
experimental in the origin repository by copying the current masterbranch.
沒有留言:
張貼留言