dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 905d59ac58cf2c86cc9b1d227fc81873a89a0651
parent 0143f9e308e6bb2abcaa2d9653a5f43cd92f7fb3
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Wed, 11 Apr 2018 21:10:11 +0200

More useful git aliases

Diffstat:
M.gitconfig | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/.gitconfig b/.gitconfig @@ -7,8 +7,12 @@ email = EMAIL # Old lg: # lg = log --all --color --graph --full-history --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --decorate + s = status lg1 = log --graph --abbrev-commit --decorate --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" adog = log --all --decorate --oneline --graph delete-merged-branches = "!git checkout master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d" + changes = diff --summary --stat + co = checkout + fa = fetch --all