Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 62:22:58 |
Calls: | 425 |
Calls today: | 3 |
Files: | 1,025 |
Messages: | 91,194 |
Posted today: | 1 |
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 ?