Skip to content

Instantly share code, notes, and snippets.

@nazmulpcc
Created August 2, 2023 17:27
Show Gist options
  • Save nazmulpcc/483ed3dae2750b0b5c369573aaffe85d to your computer and use it in GitHub Desktop.
Save nazmulpcc/483ed3dae2750b0b5c369573aaffe85d to your computer and use it in GitHub Desktop.
Aliases for git commands
alias gs='git status'
alias gc='git commit -S -m'
alias ga='git add '
alias gca='git commit -S -a -m'
alias gd='git diff '
alias gt="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
alias gl="git log"
alias gp="git push"
alias gpl="git pull"
alias gk="git checkout"
alias gf="git flow"
alias gff="git flow feature"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment