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 ?
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 ?
You could use the “update-all” script from here ><https://gitlab.com/ldo/git-useful> as a starting point, for finding >subdirectories of a specified directory that have a .git subdirectory in >them.
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 ?
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 ?
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`
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 ?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 153:34:43 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,840 |