Skip to content

Instantly share code, notes, and snippets.

@mystikraz
Created November 10, 2022 07:26
Show Gist options
  • Select an option

  • Save mystikraz/023e6ee51d7b28d29d5e71b52e5a0f8e to your computer and use it in GitHub Desktop.

Select an option

Save mystikraz/023e6ee51d7b28d29d5e71b52e5a0f8e to your computer and use it in GitHub Desktop.
Edit Remote git commit
git reset --soft HEAD~3
git commit -m "New message for the combined commit"
git push -f origin MyBranch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment