Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chuenniger/ed13feacbda6d76c4abe2d82c32c24a1 to your computer and use it in GitHub Desktop.
Save chuenniger/ed13feacbda6d76c4abe2d82c32c24a1 to your computer and use it in GitHub Desktop.
Set a branch to master branch
# 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