Created
August 27, 2018 14:47
-
-
Save hectorj/79ba2958e75c1d3a47639dacb8c99bdf to your computer and use it in GitHub Desktop.
`git rebase` du pauvre
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -eu | |
| git fetch origin | |
| git merge origin/master | |
| git reset origin/master | |
| git add --all | |
| git commit -m "Commit tout beau tout propre" | |
| git push --force-with-lease |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment