Created
December 16, 2010 11:38
-
-
Save wimleers/743308 to your computer and use it in GitHub Desktop.
git — branching from an upstream branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--( ~/Work/redbot (master) )-- git remote add upstream https://github.com/mnot/redbot.git | |
--( ~/Work/redbot (master) )-- git fetch upstream | |
From https://github.com/mnot/redbot | |
* [new branch] gh-pages -> upstream/gh-pages | |
* [new branch] master -> upstream/master | |
--( ~/Work/redbot (master) )-- git fetch upstream master:har-postData | |
From https://github.com/mnot/redbot | |
* [new branch] master -> har-postData | |
--( ~/Work/redbot (master) )-- git checkout har-postData | |
Switched to branch 'har-postData' | |
--( ~/Work/redbot (har-postData) )-- git branch | |
* har-postData | |
master | |
--( ~/Work/redbot (har-postData) )-- git remote | |
origin | |
upstream | |
--( ~/Work/redbot (har-postData) )-- git add lib/formatter/har.py | |
--( ~/Work/redbot (har-postData) )-- git ci | |
[har-postData 9c2eca8] Don't set postDate, because the HAR format requires postData.mimeType to be set as well, then. | |
1 files changed, 0 insertions(+), 1 deletions(-) | |
--( ~/Work/redbot (har-postData) )-- git push origin har-postData | |
Counting objects: 9, done. | |
Delta compression using up to 2 threads. | |
Compressing objects: 100% (5/5), done. | |
Writing objects: 100% (5/5), 478 bytes, done. | |
Total 5 (delta 4), reused 0 (delta 0) | |
To [email protected]:wimleers/redbot.git | |
* [new branch] har-postData -> har-postData | |
--( ~/Work/redbot (har-postData) )-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment