evry time I fetch from TFS I get only one commit to local repo

Nov 22, 2012 at 1:07 PM

Configured to use with a tfs repo but every time I do git-tf pull I get a single commit merged into local master(the last one) although there were many commits into the tfs repository.

Developer
Nov 22, 2012 at 2:40 PM
Use the --deep flag. Eg:

git tf clone --deep

On Nov 22, 2012, at 8:07 AM, "Ghita" <notifications@codeplex.com> wrote:

From: Ghita

Configured to use with a tfs repo but every time I do git-tf pull I get a single commit merged into local master(the last one) although there were many commits into the tfs repository.

Nov 22, 2012 at 6:52 PM

Is there a way to set the deep flag after creating the clone of the tfs repo ?

Developer
Nov 22, 2012 at 9:17 PM
You can set the deep flag after you've created your repository using the configure command, but it will only affect future fetch or pull operations and would bring the TFS changesets between your current git repository and the latest TFS changeset on the server.

You would need to do a new clone in a new repository if you want old history.

Thanks-
-ed

On Nov 22, 2012, at 1:53 PM, "Ghita" <notifications@codeplex.com> wrote:

From: Ghita

Is there a way to set the deep flag after creating the clone of the tfs repo ?

Nov 23, 2012 at 5:12 AM

That's great the way it is. I just use git-tf for the convenience of having git locally because we use a tfs server. What would be great probably is if I could also use it to make push (checkins) to tfs directly but we have some policy on the server where code reviewer for example has to be mentioned.