Skip to content

Instantly share code, notes, and snippets.

@felipeabajo
Created December 20, 2023 08:58
Show Gist options
  • Save felipeabajo/e900b21176575abc2b2637d162283830 to your computer and use it in GitHub Desktop.
Save felipeabajo/e900b21176575abc2b2637d162283830 to your computer and use it in GitHub Desktop.
Snippets for GitHub
Merge from branch not possible because branches do not share the same history:
git checkout [BRANCH]
git branch master [BRANCH] -f
git checkout master
git push origin master -f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment