Skip to content

Instantly share code, notes, and snippets.

@nomeyer
Last active February 12, 2016 15:43
Show Gist options
  • Save nomeyer/7145cefa67b08f9eb61b to your computer and use it in GitHub Desktop.
Save nomeyer/7145cefa67b08f9eb61b to your computer and use it in GitHub Desktop.
Git create a new branch from an old commit hash
git fetch origin 8fd8e58c2599a9d31f9ca8cad1fdb7524dc794e5:refs/remotes/origin/~~branch_name~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment