Added some new Git aliases and a global ignore file.

This commit is contained in:
Scott Wallace 2018-06-28 10:43:55 +01:00
parent 84e5ee1eb5
commit 431b9e4899

View file

@ -11,6 +11,7 @@
packedGitLimit = 128m packedGitLimit = 128m
packedGitWindowSize = 128m packedGitWindowSize = 128m
autocrlf = input autocrlf = input
excludesfile = ~/.gitignore_global
[alias] [alias]
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)' 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)'
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)' 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)'
@ -22,9 +23,11 @@
st = status st = status
ci = commit ci = commit
co = checkout co = checkout
cp = cherry-pick --ff
br = branch br = branch
ref = for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=committerdate ref = for-each-ref --format='%(committerdate) %09 %(authorname) %09 %(refname)' --sort=committerdate
rl = reflog --date=iso rl = reflog --date=iso
tags = tag --sort=taggerdate
[color] [color]
ui = true ui = true
[branch] [branch]