Skip to content

Instantly share code, notes, and snippets.

@voquanghoa
Last active March 18, 2022 04:17
Show Gist options
  • Save voquanghoa/3453e4dbc84b9dadc87a49bc168240fc to your computer and use it in GitHub Desktop.
Save voquanghoa/3453e4dbc84b9dadc87a49bc168240fc to your computer and use it in GitHub Desktop.
git checkout <branch>
git reset $(git merge-base develop $(git branch --show-current))
git add *
git commit -m "Comments ..."
git push --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment