I am using git and have a local clone on my hard drive. How do I configure ST?

How do I configure ST without re-pulling everything? In other words, how do I tell it that D:\git is where my copies of files are?

I have been using Tortoise. but we are going to 2FA with Stash, so I guess I need to change.

I'm a complete newbie at this sort of thing, BTW.

1 answer

1 accepted

1 vote
Accepted answer

File -> New/Clone -> Add existing local repository

Hey, it works! Thanks

For the benefit of others, you will select 'Clone/New' from the file menu and get a popup with three tabs: Clone Repository, Add Working Copy, and Create New Repository. You want Add Working Copy.

FWIW I have a folder called \git; inside it are two more. It did not see \git as a git directory, but it does see the ones inside

Thanks again!

Sounds like you might be on a slightly different version than I am, but yeah that's it.  It wouldn't see your "git" directory because it is not, itself, a git repository.  But the individual folders within it presumably are.

 

If my answer helped you, please "Accept" it.  Thanks!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

834 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you