Skip to content

Instantly share code, notes, and snippets.

@john-stemberger
Last active October 27, 2021 20:17
Show Gist options
  • Save john-stemberger/f4c6dac207d77592d3d4ae279a212537 to your computer and use it in GitHub Desktop.
Save john-stemberger/f4c6dac207d77592d3d4ae279a212537 to your computer and use it in GitHub Desktop.
# put the following into the .girconfig file
[alias]
# Common commands
lg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
llg = log --all --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --author='John Stemberger'
f = fetch --prune --all
# Normalize listing
branches = branch -a
b = branch -vv
remotes = remote -v
tags = tag -l
fix = rebase -i head~2
[core]
pager = less -S
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment