소스 검색

Update git alias snap

pull/1/head
10sr 9 년 전
부모
커밋
807bc1ae02
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      setup.sh

+ 1
- 1
setup.sh 파일 보기

@@ -248,7 +248,7 @@ git checkout master && git merge --no-ff --stat --verbose -'"

$_gc alias.todo "grep -nH -E -i 'todo:|note:|fixme:'"

$_gc alias.snap '! gitdir="`git rev-parse --git-dir`" && : >>"$gitdir"/logs/refs/snapshot && git update-ref refs/snapshot $(git stash create)'
$_gc 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'

#$_gc alias.wc "!git ls-files -z | xargs -0 wc"
# $_gc push.default "simple"


불러오는 중...
취소
저장