aboutsummaryrefslogtreecommitdiff
path: root/files/.gitconfig
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2017-08-06 20:35:17 +0500
committerAnton Bobov <abobov@gmail.com>2017-08-06 20:35:17 +0500
commitfc1bf76fde67eb913adff2f50eeef0d4a468df4a (patch)
tree50936084b34ec783f0fe16d11f60d93e154ab5bc /files/.gitconfig
parentf48a20fe77b94474260eb5d46dc6883ce0705803 (diff)
Updates.
- [git] new aliases and ignore Infinitest files - [offlineimap] remove backend option, it's set by default - [vim] enable spellchecking by default - [vim] format JSON with jq - [zsh] run ip via grc coloring - [zsh] ledger command easy query by camelcase
Diffstat (limited to 'files/.gitconfig')
-rw-r--r--files/.gitconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/files/.gitconfig b/files/.gitconfig
index e657f8f..b88d000 100644
--- a/files/.gitconfig
+++ b/files/.gitconfig
@@ -33,7 +33,10 @@
ka = !sh -c 'gitk --all' -
kb = !sh -c 'gitk --branches' -
lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
+ l = "!git lg -10"
+ f = !sh -c 'git branch | grep -F "feature/$1" | xargs -r -n 1 git co' -
st = status
+ stashlist = stash list --date=short
addnw = !sh -c 'git diff --unified=0 --ignore-all-space --no-color "$@" | git apply --cached --ignore-whitespace --unidiff-zero -'
branch-name = "!git rev-parse --abbrev-ref HEAD"
publish = "!git push -u origin $(git branch-name)"