Created
August 26, 2024 19:21
-
-
Save fastjack/781e3df75c0e963303cccc9f35710ef3 to your computer and use it in GitHub Desktop.
Useful git aliases
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
[alias] | |
discard = reset HEAD --hard | |
rmuntracked = clean -df | |
unstage = reset HEAD -- | |
uncommit = reset --soft HEAD^ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment