Просмотр исходного кода

Add git alias snap

pull/1/head
10sr 9 лет назад
Родитель
Сommit
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


Загрузка…
Отмена
Сохранить