diff options
| author | Anton Bobov <abobov@gmail.com> | 2020-07-31 16:55:41 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2020-07-31 16:55:41 +0500 |
| commit | 8a8a438aec6b05aebeddc8130344dde84c73eaa4 (patch) | |
| tree | 042768316d00bb84b0a36a057720c1e5176e0c11 /files/.gitconfig | |
| parent | d4f12bf820b1e2c9e9bb7e14e3f8e3d4710c7174 (diff) | |
Updates.
Diffstat (limited to 'files/.gitconfig')
| -rw-r--r-- | files/.gitconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/files/.gitconfig b/files/.gitconfig index a883cda..462e97c 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -51,6 +51,8 @@ wc = whatchanged -p --abbrev-commit --pretty=medium undo = reset --soft HEAD~ whoami = config user.email + fugitive = mergetool --tool fugitive + clean-branches = !sh -c 'git branch --merged | grep -v '^*' | fzf -m | xargs -rp git branch -d' [advice] statusHints = false detachedHead = false @@ -93,3 +95,5 @@ clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f process = git-lfs filter-process +[mergetool "fugitive"] + cmd = vim -c \"Gdiff\" \"$MERGED\" |
