Re: little conundrum
- From
- Peter Eriksen <s022018@student.dtu.dk>
- Date
- Nov 3, 2005, 20:57 UTC
- Message-ID
- <20051103205729.GC28273@bohr.gbar.dtu.dk>
- In-Reply-To
- <Pine.LNX.4.63.0511031845410.3435@wbgn013.biozentrum.uni-wuerzburg.de>
On Thu, Nov 03, 2005 at 06:47:56PM +0100, Johannes Schindelin wrote: ...
Show 10 quoted lines
> 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