Sujet : Re: Git automation
De : ray (at) *nospam* nah.thx (Raymond Rayson)
Groupes : comp.unix.bsd.freebsd.misc comp.os.linux.miscDate : 04. May 2025, 02:44:42
Autres entêtes
Organisation : To protect and to server
Message-ID : <vv6gqa$315nt$2@paganini.bofh.team>
References : 1 2
User-Agent : Pan/0.149 (Bellevue; 4c157ba)
On Sun, 4 May 2025 01:24:33 -0000 (UTC), Raymond Rayson wrote:
On Sat, 3 May 2025 21:32:49 -0000 (UTC), The Doctor wrote:
I have a directory /path/to/
where is Have programmes with .git is found .
How can i cron a script so that the git pull can be run in the
subdirectories with a .git subdirectory , ogin to the next one until done
and report results in e-mail ?
`for REPO in $TOPDIR; do git -C $REPO pull ${GITPULLOPTIONS}; done`
Do not input the opening and closing accents (` characters) in
your cronjob; they were my attempt to delineate a code block.
-- Best,Ray