ソースを参照

Add git alias snap

pull/1/head
10sr 9年前
コミット
50e4e3ca65
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      setup.sh

+ 3
- 1
setup.sh ファイルの表示

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

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

#$_gc alias.wc "!git ls-files -z | xargs -0 wc"
$_gc alias.snap '! gitdir="`git rev-parse --git-dir`" && : >>"$gitdir"/logs/refs/snapshot && git update-ref refs/snapshot $(git stash create)'

#$_gc alias.wc "!git ls-files -z | xargs -0 wc"
# $_gc push.default "simple"
if $iswindows; then
$_gc core.fileMode false


読み込み中…
キャンセル
保存