Skip to content

Instantly share code, notes, and snippets.

@JM-Mendez
Last active January 26, 2023 05:00
Show Gist options
  • Save JM-Mendez/f30f7534060de9763ba4f3be58e93900 to your computer and use it in GitHub Desktop.
Save JM-Mendez/f30f7534060de9763ba4f3be58e93900 to your computer and use it in GitHub Desktop.
random commands #git
# push all branches to orgin
git push --force-with-lease --all origin
# rebase and update all branches before leading up
# to this branch from main
git rebase --update-refs main feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment