Skip to content

Instantly share code, notes, and snippets.

@jomurgel
Last active January 7, 2021 16:22
Show Gist options
  • Save jomurgel/45b355792ff65b62c67fff84f34060b7 to your computer and use it in GitHub Desktop.
Save jomurgel/45b355792ff65b62c67fff84f34060b7 to your computer and use it in GitHub Desktop.
Split a Branch
git diff BRANCH_NAME > ../temp_patch
git checkout NEW_BRANCH_NAME && git apply ../temp_patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment