Last active
December 27, 2023 15:52
-
-
Save sebinside/8a384aacbc71ea7e193bde457c8662d9 to your computer and use it in GitHub Desktop.
git simple alias
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 config --get-regexp alias | |
alias.s status | |
alias.a add -A | |
alias.c commit -m | |
alias.l log --oneline | |
alias.p push | |
alias.cp "! cp() { git commit -a -m '$1' && git push ; } ; cp" | |
$ git config --global alias.xyz "xyz" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment