Skip to content

Instantly share code, notes, and snippets.

@masci
Last active June 21, 2018 00:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masci/7344191 to your computer and use it in GitHub Desktop.
Save masci/7344191 to your computer and use it in GitHub Desktop.
[user]
name = Massimiliano Pippi
email = mpippi@gmail.com
signingkey = 22AA96CA
[alias]
co = checkout
ci = commit
st = status
br = branch
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !git lg1 >&2
type = cat-file -t
dump = cat-file -p
pull = pull --tags -p
[color]
ui = true
[core]
excludesfile = ~/.gitignore_global
editor = vim
[merge]
tool = meld
[push]
default = simple
[commit]
gpgsign = true
@ferr0
Copy link

ferr0 commented Nov 6, 2013

lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) — %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
lg2 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) — %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit
lg = !«git lg1»

@masci
Copy link
Author

masci commented Nov 6, 2013

Wooo! Thank you stranger :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment