forked from ahurac/dotfiles
Ajout : afficher le nom des dépôts pendant les mises à jour de Git
This commit is contained in:
parent
4668a5cdd3
commit
64d87e1d86
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if cd "${1:-${HOME}/Git}"; then
|
if cd "${1:-${HOME}/Git}"; then
|
||||||
for repo in *; do
|
for repo in *; do
|
||||||
cd "$repo"
|
cd "$repo" || continue
|
||||||
|
printf '\n%s\n' "$repo"
|
||||||
git pull
|
git pull
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue