Re: Identify Commit ID from an Extracted Source Snapshot
- From
- Michael Schubert <mschub@elegosoft.com>
- Date
- Feb 16, 2012, 23:00 UTC
- Message-ID
- <4F3D8A7C.2020400@elegosoft.com>
- In-Reply-To
- <BEDA323D25EF6045A68DAB9FD91A0BF123A85B38@DB3PRD0402MB118.eurprd04.prod.outlook.com>
On 02/16/2012 11:06 PM, James Walmsley wrote:
Show 7 quoted lines
> I couldn't find this on google, and I have no idea if its even > possible. I have several zip files from previous versions of my > source code. (I imported svn into git). I would like to add TAGS to > git which represent the versions based on the files in my zip > archives. > > Does anyone know how to do this?
If it's just about providing the ancient code together with the (imported) more recent history from SVN, you could create an extra orphan branch for each zip packet, add the files, commit and eventually tag.
If your question is more like "how do I tell git to find out where this old code fits in my history and eventually place it there", the answer is: you cannot do it. No VCS will do this and especially not Git.