Deutsch   English   Français   Italiano  
<vv66vi$hbt1$7@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.os.linux.misc
Subject: Re: Git automation
Date: Sat, 3 May 2025 22:56:50 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <vv66vi$hbt1$7@dont-email.me>
References: <vv6221$2a1c$22@gallifrey.nk.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 04 May 2025 00:56:51 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="b8dac4bb85e923dfaf8486e3f6e91984";
	logging-data="569249"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+2HfPAyuqNsuLPbx+3YiFe"
User-Agent: Pan/0.162 (Pokrosvk)
Cancel-Lock: sha1:o9yBnU7D1IPBUdTAkEuBBtcyC4Q=
Bytes: 1521

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.