Created
February 15, 2019 18:42
-
-
Save crates/aa8d7a31d7408a734a34891c0a00c5dc to your computer and use it in GitHub Desktop.
A list of the git alias commands I use on every system
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
#!/bin/sh | |
git config --global alias.co checkout | |
git config --global alias.ci commit | |
git config --global alias.st status | |
git config --global alias.br branch | |
git config --global alias.hist "log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short" | |
git config --global alias.type 'cat-file -t' | |
git config --global alias.dump 'cat-file -p' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment