Skip to content

Instantly share code, notes, and snippets.

@djanix
Last active August 29, 2015 14:17
Show Gist options
  • Save djanix/213f07c044560f1f241c to your computer and use it in GitHub Desktop.
Save djanix/213f07c044560f1f241c to your computer and use it in GitHub Desktop.
git remove commit
- git rebase -i HEAD~3 (pour voir les 3 derniers commits par exemple)
effacer les lignes qu'on ne veut pas (sauf une)
ctrl-c + :wq (control-c sert a quitter le insert mode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment