Skip to content

Instantly share code, notes, and snippets.

@gojimmypi
Created September 12, 2021 20:10
Show Gist options
  • Save gojimmypi/f4daeaa1c2c4dc97d4136ddf20e81bf2 to your computer and use it in GitHub Desktop.
Save gojimmypi/f4daeaa1c2c4dc97d4136ddf20e81bf2 to your computer and use it in GitHub Desktop.
Remove an unpushed outgoing commit in Visual Studio
# from https://stackoverflow.com/questions/47114113/how-to-remove-an-unpushed-outgoing-commit-in-visual-studio
git reset --soft HEAD~
@betaCode-lab
Copy link

Thanks

@gojimmypi
Copy link
Author

You may also find my blog on git tangle helpful, as well as this commit squash script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment