Skip to content

Instantly share code, notes, and snippets.

@dzc34
Created June 4, 2019 06:09
Show Gist options
  • Save dzc34/2485cdc7775258d8274a1727a7b302f8 to your computer and use it in GitHub Desktop.
Save dzc34/2485cdc7775258d8274a1727a7b302f8 to your computer and use it in GitHub Desktop.
Git, revenir en arrière d'1 commit sur la branche courante en récupérant les modifications du commit dans l'espace de travail
# Git, revenir en arrière d'1 commit sur la branche courante
# en récupérant les modifications du commit dans l'espace de travail
git reset HEAD^ --mixed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment