Created
December 29, 2015 04:28
-
-
Save dzc34/17274e1a905d92e1ffb6 to your computer and use it in GitHub Desktop.
Git, revenir en arrière d'1 commit sur la branche courante
This file contains 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, revenir en arrière d'1 commit sur la branche courante | |
# avec un index et un espace de travail propre | |
git reset HEAD^ --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment