You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I found a similar question from 2013 with no answers: https://answers.atlassian.com/questions/197337/sourcetree-doesn-t-recognize-an-existing-repository
I'm using Windows 8 with Sourcetree 126.96.36.199
I have a valid git working copy on my local hard drive. If I go to the command-line and run "git status" from within the working directory, it returns:
"Your branch is up-to-date with oprigin/master. Nothing to commit, working directory clean"
The working directory has a valid .git folder.
When I try to add this working directory to sourcetree, I get an error saying it isn't a valid working directory. I've tried two ways:
1. File > Open > Select Directory
Error: the path 'somepath/workingdir' is not a valid Git repository working copy.
2. Push the Clone/New button. Select the "Add Working Copy" tab. Select the correct working copy path.
Repository Type: This is not a valid working copy path.
Is this a bug or am I missing something? Thanks.
I just installed SourceTree 188.8.131.52 and ran into this issue opening a copy of a repository on a travel machine. It worked after I filled in my name/email default user info in Tools -> Options -> General tab. I believe it asked for similar info during installation but it didn't populate that tab with it.
I also have "Allow SourceTree to modify your global Git and Mercurial config files" checked, which I'm assuming is also checked on the machine this repo was copied from.