It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't open repo! Edited

I changed my folder locations where I wanted my files to be.

But I can no longer open the window, where I have, push/pull options.

Do I have to make new repo again, clone new one and then copy all files to a new folder?Untitled.png

1 answer

0 votes
Mikael Sandberg Community Leader Jan 16, 2018

So, if I understand this correctly, you moved your local repository to a different location correct? If so, try and delete the bookmark in Sourcetree (right-click on it and select Remove bookmark from folder). Then click Add and select the new location of your repository. Hopefully that will do the trick.

Mikael Sandberg Community Leader Jan 16, 2018

You may have to use the Delete instead of Remove bookmark... I just cleaned up my bookmarks and discovered that the Remove bookmark... was not working on some of the repositories.

now i cant add itCapture.PNG

Mikael Sandberg Community Leader Jan 17, 2018

When you moved it, did you move everything in the repository or just parts of it? The most likely reason Sourcetree does not see it as a repository is because it is missing the .git directory. This directory contains everything that Git needs, and it must be in the root of your repository.

I did move entire folder.

So back to main idea.

I have to move everything out of www folder.

clone my repo from bitbucket to www folder

and place the new files back to www folder?

I think I do the above almost every time I use sourcetree xD

It just has been 6 months before I last used it, a lot of changes again.

 

For some reason, I can't make the source work for me like I want xD

Mikael Sandberg Community Leader Jan 17, 2018

Where the repository is locally has not affect, as long as the root contains the .git directory. So you could when you first clone the repository put it under your www directory if you want.

If you go to the repository on the command line and run git status what does it return? 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,935 views 0 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you