RE: Fork or branch?
- From
Peter Jönsson P <peter.p.jonsson@ericsson.com>
- Date
- Apr 21, 2011, 13:23 UTC
- Message-ID
- <41F80411E3CC644A844E6BED6E472FD91AE14979CC@ESESSCMS0363.eemea.ericsson.se>
- In-Reply-To
- <1303390999618-6293910.post@n2.nabble.com>
Hi!
Will you be sharing anything between the projects? If you have data that will be shared between the two different implementations it would be enough with just a simple directory structure while still inside the same git repo.
repo.git: - <python based> - <c based> - ... - <some other language based> - shared_data
Just create a new branch on the current code based and start working on the C based one. Then you can merge it back to the "main" code line if it works out.
Good luck!
// Peter
-----Original Message----- From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On Behalf Of adam_kb Sent: den 21 april 2011 15:03 To: git@vger.kernel.org Subject: Fork or branch?
I am new to git and understand most of it except for merge. My question is - if I have project X on branch master and its coded in python but I then want to take that same project and code it in say C or C++ would I fork or branch the project?
-- View this message in context: http://git.661346.n2.nabble.com/Fork-or-branch-tp6293910p6293910.html Sent from the git mailing list archive at Nabble.com. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html