From dc1544caf190fb9eca1a239336b749dc3e25f320 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 23 Dec 2014 02:19:45 +0900 Subject: [PATCH] Update git clean-p alias --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index ab6a037..55bfebf 100755 --- a/setup.sh +++ b/setup.sh @@ -234,7 +234,7 @@ setup_gitconf(){ # $_gc alias.my-ls "ls-files | xargs ls" # $_gc alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" $_gc alias.addi "add -i" - $_gc alias.clean-p "!test -z \"\$(git status -s -uno)\"" + $_gc alias.clean-p "diff --quiet" # alias open-branch and close-branch, which will be useful for topic branch # workflow