Created
June 21, 2021 12:36
-
-
Save chuenniger/ed13feacbda6d76c4abe2d82c32c24a1 to your computer and use it in GitHub Desktop.
Set a branch to master branch
This file contains 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
# checkout the branch | |
git checkout dev_branch | |
# reset to master | |
git reset --hard master | |
# push it baby | |
git push --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment