From a4d052b06848752f022d9d8d45c0f342d7d22e38 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 20 Jan 2015 16:40:41 +0900 Subject: [PATCH] Remove open/close-branch --- Makefile | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Makefile b/Makefile index 8f758ec..40b52fc 100644 --- a/Makefile +++ b/Makefile @@ -152,16 +152,6 @@ endif $(git_conf) alias.clean-p "diff --quiet" $(git_conf) alias.echo-ref "for-each-ref --format='%(refname:short)'" - # alias open-branch and close-branch, which will be useful for topic branch - # workflow - _git_open_branch="checkout -b" - _git_close_branch="!sh -cx 'git stash && \ -git checkout master && git merge --no-ff --stat --verbose -'" - $(git_conf) alias.open-branch "$_git_open_branch" - $(git_conf) alias.close-branch "$_git_close_branch" - $(git_conf) alias.o "$_git_open_branch" - $(git_conf) alias.c "$_git_close_branch" - $(git_conf) alias.todo "grep -nH -E -i 'todo:|note:|fixme:'" $(git_conf) alias.snap '! gitdir="`git rev-parse --git-dir`" && : >>"$gitdir"/logs/refs/snapshot && cmt=`git stash create` && test -n "$cmt" && git update-ref refs/snapshot $cmt && echo Snapshot created: $cmt'