From: Peter Eriksen Date: Thu, 03 Nov 2005 20:57:29 GMT Subject: Re: little conundrum Message-ID: <20051103205729.GC28273@bohr.gbar.dtu.dk> In-Reply-To: On Thu, Nov 03, 2005 at 06:47:56PM +0100, Johannes Schindelin wrote: ... > How about this: > > cd orig/ > git-init-db > git-add $(find * -type f) > git-commit -m "initial" > cd ../modified > mv ../orig/.git ./ > git-add $(find * -type f) > git-commit -a -m "my modifications" As I stated in another message be careful with links because they are not of "-type f". In addition do find * -type l or at least keep in mind what is really going on. Peter