Re: How to fork a file (git cp ?)
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- May 4, 2011, 18:22 UTC
- Message-ID
- <4DC19955.7040503@kdbg.org>
- In-Reply-To
- <4DC1934D.6070608@aldan.algebra.com>
(Sorry for the botched previous post - fat fingers)
Am 04.05.2011 19:56, schrieb Mikhail T.:
> I need to add a new thing to our project. The thing will be similar to > what already exists. I'd like to "derive" the new files from the > existing ones -- without altering them and by preserving the > change-history.
You cannot. Git does not have such a thing as "copy-with-preserved-history".
You just cp the file and git add it. But you will not be able to follow a history of the file.
-- Hannes