From 6c33565fed35bc03f7a61fd7ecb41558cc59a988 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Wed, 24 Feb 2016 02:03:43 +0300 Subject: [PATCH] .gitconfig: add aliases branches, null-merge, remotes, ri, tags --- .gitconfig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitconfig b/.gitconfig index 598af7b..38d9c5c 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,5 +1,6 @@ [alias] b = branch + branches = branch -a camend = commit --amend -C HEAD checkin = commit ci = commit @@ -16,10 +17,14 @@ lr = log --decorate --reverse lr1 = log --decorate --reverse --oneline lr5 = log --decorate --reverse -5 + null-merge = merge --strategy=ours + remotes = remote -v + ri = "!sh -c 'git rebase --interactive --autosquash --preserve-merges ${1:-\"@{u}\"}' -" root = rev-parse --show-toplevel #root = !pwd st = status --short stb = status --short --branch + tags = tag -l unstage = reset HEAD -- wdiff = diff --word-diff wshow = show --word-diff --decorate -- 2.39.5