Browse Source

Add new git alias echo-ref

pull/2/head
10sr 9 years ago
parent
commit
f35f8e07d7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      setup.sh

+ 1
- 0
setup.sh View File

@@ -235,6 +235,7 @@ setup_gitconf(){
# $_gc alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso" # $_gc alias.ll "!git ls-files | xargs ls -l -CFG --color=auto --time-style=long-iso"
$_gc alias.addi "add -i" $_gc alias.addi "add -i"
$_gc alias.clean-p "diff --quiet" $_gc alias.clean-p "diff --quiet"
$_gc alias.echo-ref "for-each-ref --format='%(refname:short)'"


# alias open-branch and close-branch, which will be useful for topic branch # alias open-branch and close-branch, which will be useful for topic branch
# workflow # workflow


Loading…
Cancel
Save