Browse Source

use bopen and bclose for git aliases for topic branches

pull/1/head
10sr 11 years ago
parent
commit
98db891b53
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      shrc

+ 2
- 2
shrc View File

@@ -309,8 +309,8 @@ __mysetup_git_config(){
# $_gitconfig alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" # $_gitconfig alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso"
$_gitconfig alias.addi "add -i" $_gitconfig alias.addi "add -i"
$_gitconfig alias.clean-p "!test -z \"\$(git status -s -uno)\"" $_gitconfig alias.clean-p "!test -z \"\$(git status -s -uno)\""
$_gitconfig alias.newb "checkout -b"
$_gitconfig alias.endb \
$_gitconfig alias.bopen "checkout -b"
$_gitconfig alias.bclose \
"!sh -cx 'git stash && git checkout master && git merge --no-ff -'" "!sh -cx 'git stash && git checkout master && git merge --no-ff -'"
#$_gitconfig alias.wc "!git ls-files -z | xargs -0 wc" #$_gitconfig alias.wc "!git ls-files -z | xargs -0 wc"
# $_gitconfig push.default "simple" # $_gitconfig push.default "simple"


Loading…
Cancel
Save