Last active
August 29, 2015 14:17
-
-
Save djanix/213f07c044560f1f241c to your computer and use it in GitHub Desktop.
git remove commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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