Created
April 21, 2022 14:27
-
-
Save rsln-s/053e392ce71947a3c3acb5b110f34100 to your computer and use it in GitHub Desktop.
Bash git shortcut
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 | |
alias gs="git status" | |
alias ga="git add" | |
alias gd="git diff" | |
alias nd="nbdiff --ignore-outputs --ignore-metadata --ignore-details" | |
alias gch="git checkout HEAD" | |
function gc(){ | |
git commit -m "$*" && git push origin HEAD | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment