Created
April 22, 2024 03:04
-
-
Save dsp1589/7c4049d99576e02f64bde19f3f9394dc to your computer and use it in GitHub Desktop.
Git repo clear reset
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 reset --hard HEAD #reset to head commit | |
git clean -fdx #removes all untracked too |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment