瀏覽代碼

Merge branch 'fixgitalias'

pull/1/head
10sr 10 年之前
父節點
當前提交
2947db4486
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      setup.sh

+ 2
- 2
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"


Loading…
取消
儲存