Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

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...

3,418 views 4 5
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