Welcome Guest, Not a member yet? Register   Sign In
GIT branching/cloning new repo question
#2

[eluser]PhilTem[/eluser]
I'd say: Create a new repo.
Why? Because, as you said, you don't need any of the old code on the new servers. Creating a new repo will start you off of a clean repo without any code.
However, you can add a submodule that links to the other repo (as long as it's .git, too Wink ) which can be updated as easy as a usual repo without actually "injecting" code into your repo's code that you have to worry about.

On the other hand you could create a clone of the repo and branch off - since cloning and creating a new repo with a submodule isn't very different.

Plus, if you have a new repo and want to look at code from the old repo you can do it easier than if you did in the same repo Wink


Messages In This Thread
GIT branching/cloning new repo question - by El Forum - 11-16-2012, 01:31 AM
GIT branching/cloning new repo question - by El Forum - 11-16-2012, 05:21 AM
GIT branching/cloning new repo question - by El Forum - 11-16-2012, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB