Skip to content

Instantly share code, notes, and snippets.

@phluks
Created September 4, 2012 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phluks/3618183 to your computer and use it in GitHub Desktop.
Save phluks/3618183 to your computer and use it in GitHub Desktop.
Where is the other git-ref?
# What refs do we have for release - one?
find .git/refs/ -name Release-2012.08.01
.git/refs/heads/Release-2012.08.01
# No two?
[olav@fern (Release-2012.08.01)]$ git show-ref | grep Release-2012.08.01
fc9b7ce40a00ab59248a2aaa4b8f0b6bb6864e85 refs/heads/Release-2012.08.01
fc9b7ce40a00ab59248a2aaa4b8f0b6bb6864e85 refs/remotes/origin/Release-2012.08.01
# Where's the second one? - not here:
[olav@fern (Release-2012.08.01)]$ ls .git/refs/remotes/origin/
HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment