Skip to content

Instantly share code, notes, and snippets.

@adamretter
Created July 3, 2015 12:43
Show Gist options
  • Save adamretter/9b3140e824424713966e to your computer and use it in GitHub Desktop.
Save adamretter/9b3140e824424713966e to your computer and use it in GitHub Desktop.
$ git show-ref --tags
44f824e4ead5e2516a6abf2db9cd91bf1e9a9a99 refs/tags/eXist-2.2
6f67af030cd534df60209e6e78c13a4cd88ff6fc refs/tags/eXist-2.2.RC1
28f90f702e9f8228485985f8bfe093d4392a8666 refs/tags/eXist-2.2.RC2
$ git checkout 6f67af030cd534df60209e6e78c13a4cd88ff6fc
Checking out files: 100% (2471/2471), done.
Note: checking out '6f67af030cd534df60209e6e78c13a4cd88ff6fc'.
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 79814b4... Merge pull request #152 from adamretter/develop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment