Skip to content

Instantly share code, notes, and snippets.

@rponte
Created September 27, 2022 18:45
Show Gist options
  • Save rponte/531a6abc1138cbba3d7e931f172e757f to your computer and use it in GitHub Desktop.
Save rponte/531a6abc1138cbba3d7e931f172e757f to your computer and use it in GitHub Desktop.
Git: reseting and cleaning a git repository
git reset --hard HEAD ; git clean -fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment