Skip to content

Instantly share code, notes, and snippets.

@dzc34
Created December 29, 2015 04:28
Show Gist options
  • Save dzc34/17274e1a905d92e1ffb6 to your computer and use it in GitHub Desktop.
Save dzc34/17274e1a905d92e1ffb6 to your computer and use it in GitHub Desktop.
Git, revenir en arrière d'1 commit sur la branche courante
# 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