Last active
April 28, 2021 15:10
-
-
Save cristiarg/ca7983e6c5fc5ca301ea2b9ea6590da7 to your computer and use it in GitHub Desktop.
git config aliases
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
git config --global alias.co 'checkout' | |
git config --global alias.br 'branch' | |
git config --global alias.ci 'commit' | |
git config --global alias.st 'status' | |
git config --global alias.uns 'reset HEAD --' | |
git config --global alias.fe 'fetch' | |
git config --global alias.last 'log -3 HEAD' | |
git config --global alias.lga 'log --graph --all --name-status' | |
git config --global alias.lg 'log --graph' | |
git config --global alias.alias "! git config --get-regexp ^alias\. | sed -e s/^alias\.// -e s/\ /\ =\ /" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment