Created
October 19, 2009 14:06
-
-
Save fj/213403 to your computer and use it in GitHub Desktop.
This file contains 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
[johnf@genesis][2009/10/19|09:54:27] | |
[/tmp/tmp-dev]> git fetch | |
[johnf@genesis][2009/10/19|09:54:40] | |
[/tmp/tmp-dev]> git config --add remote.origin.fetch refs/apple/banana | |
# ('apple' is a user I collaborate with who's got several branches, one of which is 'banana'.) | |
[johnf@genesis][2009/10/19|09:55:36] | |
[/tmp/tmp-dev]> git fetch | |
From git@67.23.22.87:fruitbasket.git | |
* branch refs/apple/banana -> FETCH_HEAD | |
[johnf@genesis][2009/10/19|09:55:40] | |
[/tmp/tmp-dev]> git branch -r | |
origin/master | |
[johnf@genesis][2009/10/19|09:55:52] | |
[/tmp/tmp-dev]> git remote show origin | |
* remote origin | |
URL: git@67.23.22.87:fruitbasket.git | |
New remote branch (next fetch will store in remotes/origin) | |
refs/apple/banana | |
Tracked remote branch | |
master | |
[johnf@genesis][2009/10/19|09:56:29] | |
[/tmp/tmp-dev]> git remote update origin | |
[johnf@genesis][2009/10/19|10:03:35] | |
[/tmp/tmp-dev]> git branch -r | |
origin/master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment