Skip to content

Instantly share code, notes, and snippets.

@slave2zeros
Created June 21, 2012 20:47
Show Gist options
  • Save slave2zeros/2968417 to your computer and use it in GitHub Desktop.
Save slave2zeros/2968417 to your computer and use it in GitHub Desktop.
16:46 ~/Sites/eduguide/ git:master > git checkout origin/master
Note: checking out 'origin/master'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 297ecec... Merge branch 'master' of github.com:EduGuide/eduguide
16:46 ~/Sites/eduguide/ git:297ecec... > git checkout origin/feature/paths
Previous HEAD position was 297ecec... Merge branch 'master' of github.com:EduGuide/eduguide
Switched to branch 'origin/feature/paths'
Your branch is ahead of 'develop' by 1 commit.
16:46 ~/Sites/eduguide/ git:origin/feature/paths > git checkout origin/feature/goals
Note: checking out 'origin/feature/goals'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b new_branch_name
HEAD is now at 69b2735... fixed problem where you'd always see your own header even when you're looking at another person's goal details page for the goal
16:46 ~/Sites/eduguide/ git:69b2735... >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment