dépôts
/
lhc
/
ateliers.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Correction : local/backup/*-snapshot : évite set -e : inactif dans les fonctions.
[lhc/ateliers.git]
/
local
/
git-reset
1
#!/bin/sh -eu
2
tool
=
$
(
readlink
-e
"
${0%/*}
/.."
)
3
.
"
$tool
"
/
local
/
lib.sh
4
5
cd
"
$tool
"
6
git checkout
-f -B
master remotes
/
master
7
git clean
-f -d -x