From ee96831c8b9ec7c5a77466f888e792d0f43103d5 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 17 Dec 2018 18:37:47 +0100 Subject: [vim] Add mapping to cycle quickfix more easily --- git/.gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') diff --git a/git/.gitconfig b/git/.gitconfig index 2f0bbb3..f44fe0e 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -8,7 +8,7 @@ templatedir = ~/.git_template [alias] ctags = !.git/hooks/ctags - saveandsync = !git add . && git commit -m "Update" && git push origin master + saveandsync = !git add . && git diff --cached --exit-code || git commit -m "Update" && git push origin master [http] sslverify = false [commit] -- cgit v1.2.3