Skip to content

Instantly share code, notes, and snippets.

@ninadpchaudhari
Last active September 5, 2018 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninadpchaudhari/d56196df86bfbbf66fbf3ee043996614 to your computer and use it in GitHub Desktop.
Save ninadpchaudhari/d56196df86bfbbf66fbf3ee043996614 to your computer and use it in GitHub Desktop.
Squash last X Commits. : https://stackoverflow.com/a/5190323/3262852
use --force if already pushed to github
2) Reset all local changes & reset to one from Github : https://stackoverflow.com/a/8888015/3262852
3) Create, apply patches https://stackoverflow.com/questions/6658313/generate-a-git-patch-for-a-specific-commit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment