From c67235b1a653ab70d6d391c284152b25d87234aa Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 23 Feb 2014 02:35:13 +0900 Subject: [PATCH] setup.sh: update git alias close-branch --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 60e9ebb..ae4ca9d 100755 --- a/setup.sh +++ b/setup.sh @@ -126,7 +126,7 @@ setup_gitconf(){ $_gc alias.co "checkout" $_gc alias.cim "commit --verbose -m" $_gc alias.di "diff --color" - $_gc alias.me "merge --no-ff --stat -v" + $_gc alias.me "merge --no-ff --stat --verbose" $_gc alias.gr "grep -n" $_gc alias.ls "ls-files" # $_gc alias.ls "ls-files -v --full-name" @@ -141,7 +141,7 @@ setup_gitconf(){ # workflow _git_open_branch="checkout -b" _git_close_branch="!sh -cx 'git stash && \ -git checkout master && git merge -'" +git checkout master && git merge --no-ff --stat --verbose -'" $_gc alias.open-branch "$_git_open_branch" $_gc alias.close-branch "$_git_close_branch" $_gc alias.o "$_git_open_branch"