Skip to content

Instantly share code, notes, and snippets.

@azizshamim
Last active August 29, 2015 14:05
Show Gist options
  • Save azizshamim/2011ea19ae3c4ffcb612 to your computer and use it in GitHub Desktop.
Save azizshamim/2011ea19ae3c4ffcb612 to your computer and use it in GitHub Desktop.
my_git_aliases
# Type these commands in order to add the aliases
git config --global alias.lol 'log --pretty=oneline --abbrev-commit --graph --decorate'
git config --global alias.ll 'log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit --date=relative'
git config --global alias.lola 'log --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit --date=relative --all'
git config --global alias.s 'status -su'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment