Skip to content

Instantly share code, notes, and snippets.

@kbrock
Created September 1, 2015 18:30
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 kbrock/ded1c809cf5ebf8fbe4d to your computer and use it in GitHub Desktop.
Save kbrock/ded1c809cf5ebf8fbe4d to your computer and use it in GitHub Desktop.

You may find yourself in a situation where you have a modified v2_key.dev, and are missing a v2_key.

that is easy to fix:

mv v2_key.dev v2_key
git checkout v2_key.dev

If you are checking out an older branch, it may complain that you need to remove certs/v2_key in order to change to another branch.

mv certs/v2_key certs/v2_key.bak
git checkout <branch>
git rebase upstream/master
mv certs/v2_key.bak certs/v2_key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment