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: | 715 |
| Nodes: | 16 (0 / 16) |
| Uptime: | 170:55:30 |
| Calls: | 12,097 |
| Calls today: | 5 |
| Files: | 15,003 |
| Messages: | 6,517,855 |