Link to home
Start Free TrialLog in
Avatar of huangs3
huangs3Flag for Canada

asked on

Git with MS Team Foundation Server: how to checkout/checkin one file without pulling the entire repository

Hi Experts,

Our team has a file repository using Git with Team Foundation Server.

Currently the way we are working with it is to use Microsoft Visual Studio or TortoiseGit. We check out the entire repository to local, do the editing, and then commit to the local repository, and finally push the local repository to remote server.

We have some team members are only working on a couple of the documents in the repository, such that pulling the entire repository to local seems too much overhead to them. Is there a way that they can check-out and check-in a single file without pulling the entire repository to their local computer?

If there is any tool, setting in the tool, or some way of writing script to do this, please give me some tip.

Thank you!
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of huangs3

ASKER

Hi David,

Team Foundation Server does provide a Git option.
http://devproconnections.com/visual-studio-2013/git-team-foundation-server-2013 
I don't need to automate builds.
I think my goal can be simplified to: find out how to check-in and check-out a file from Git without pulling the entire repository to local. Is it possible?

Thank you!
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of huangs3

ASKER

That's clear. This question will be closed. Then I am going to try to find some work-around and there may be follow up questions.
Avatar of huangs3

ASKER

Duncan give a clear answer such that I can start look at work-arounds. David gave some background knowledges.