Skip to content

Instantly share code, notes, and snippets.

@springmeyer
Created August 5, 2011 00:14
Show Gist options
  • Save springmeyer/1126640 to your computer and use it in GitHub Desktop.
Save springmeyer/1126640 to your computer and use it in GitHub Desktop.
$ git checkout v0.4.0
Note: checking out 'v0.4.0'.
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 5477422... 0.4.0: maverick, natty package changelog entries
d:tilemill-04 dane$ git branch -a
* (no branch)
master
remotes/origin/HEAD -> origin/master
remotes/origin/bones
remotes/origin/gh-pages
remotes/origin/master
remotes/origin/v0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment