Search code examples
gitsourcetree

Configure Local Repository in Sourcetree


Using Sourcetree and Git, by Default, when I check out from development branch, the code is getting check out under /Documents [Windows 7]. Is there a way to configure this path, so that I can check out the code to my_preferred_Drive:/my_preferred_folder?


Solution

  • The code is checked out at the location where you first cloned the project. When cloning a project you can specify the destination path at which you want to clone the project. At this point you can enter my_preferred_Drive:/my_preferred_folder in the Destination Path Field

    enter image description here

    When you checkout anything after this, it will be checked out at this destination location