Just my notes
Saturday, May 19, 2012
a couple of git branch cmds
1. create a new branch from origin's branch
git checkout -b serverfix origin/serverfix
2. get everything from origin
git fetch origin
3. deleting remote branch
git push origin :serverfix
Note that the syntax for git push is
git push [remote name] [local branch]:[remote branch]
source:
http://git-scm.com/book/en/Git-Branching-Remote-Branches
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment