Skip to content

Instantly share code, notes, and snippets.

@knowankit
Forked from ducksoupdev/git_aliases_bash.sh
Created August 6, 2019 07:24
Show Gist options
  • Save knowankit/ada5fa143bf6da52e22e84aa613ab28e to your computer and use it in GitHub Desktop.
Save knowankit/ada5fa143bf6da52e22e84aa613ab28e to your computer and use it in GitHub Desktop.
alias ls='ls -F --color --show-control-chars'
alias ll='ls -l'
alias gits='git status '
alias gita='git add '
alias gitb='git branch '
alias gitc='git commit'
alias gitd='git diff'
alias gito='git checkout '
alias gitl='git log --graph --pretty=format:"%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset" --abbrev-commit --date=relative'
alias gitr='git remote update'
alias gitp='git pull --rebase'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment