gitrefresh

Easily export, reinitialize and update all git repositories in a file hierarchy
git clone git://git.defalsify.org/gitrefresh.git
Log | Files | Refs | README | LICENSE

commit 30e50ef82e51b931fbd4f161e06e8557e2729c5f
parent df20bb89c01f4741b2111d7e01e70c8123cbc8bb
Author: lash <dev@holbrook.no>
Date:   Wed, 12 Jan 2022 21:58:30 +0000

Add handler for git pull

Diffstat:
Mgitrefresh.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/gitrefresh.sh b/gitrefresh.sh @@ -35,6 +35,10 @@ case "$cmd" in esac #echo using repo dir $(realpath $t) +repo_pull() { + repo_update $1 +} + repo_update() { >&2 echo updating `pwd` git remote update