Created
June 15, 2021 08:38
-
-
Save nhthai2005/379e0433a385b41d86aec0838c07a953 to your computer and use it in GitHub Desktop.
Git Reset Hard
This file contains hidden or 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
#!/bin/bash | |
git restore * | |
git clean -fd | |
git reset --hard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment