Skip to content

Instantly share code, notes, and snippets.

@capitalsav
Created August 31, 2020 10:23
Show Gist options
  • Save capitalsav/59cd7a4781978d7e570bc7be8333d0b6 to your computer and use it in GitHub Desktop.
Save capitalsav/59cd7a4781978d7e570bc7be8333d0b6 to your computer and use it in GitHub Desktop.
My configuration for .bashrc
# Alias git status
alias gs="git status"
# Alias git add .
alias ga="git add ."
# Function for git commit (instead of alias)
gc() {
git commit -m "$1"
}
# Alias git push
alias gp="git push"
# Alias git fetch
alias gf="git fetch"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment