Please help,
We want to pull all files and sub-folder from a specific folder in a repository, and FORCE them down to lour local machines.
How can one do this in SourceTree?
To clarify, envision we have 1 repository laid out as such:
MyRepo\Project1\Code
MyRepo\Project1\Content
MyRepo\Project1\Resources
MyRepo\Project2\Code
MyRepo\Project2\Content
MyRepo\Project2\Resources
Then envision, Developer-#1 pushes/comits changes to MyRepo\Project1\Content.
Developer-#2 works in MyRepo\Project1\Code and changes some files, for testing purposes.
How can Developer-#2, use SourceTree, to pull down all files, folders, sub-folders, from the folder "MyRepo\Project1", and merge/over-write all files/folder/sub-folder into their MyRepo\Project1, by ONLY SPECIFICY the folder "MyRepo\Project1"?
If the term "branch", "repository", "Change set", or something else is even considered at all, then that is not the answer to the question. The question can only be answered by one is in SoureTree, looking at the folder "MyRepo\Project1", and some how click, right-click, or go into a menu to force down all changes from that folder.
Git pull does not allow you to just pull specific folders/files. In order to do that you would have to use something like git submodules (which has several drawbacks) or sparse checkout.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.