Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,448
Community Members
 
Community Events
184
Community Groups

Move project to different folder on same development PC

I use Sourcetree and I have a project in a folder under VS2015 that I want to copy in its entirety to the same name so it will be under VS2017 on the same dev PC. I could simply copy the entire project folder (including .git) of course, and I want to keep the same remote origin destination. Then the original project source under VS2015 will become dormant and eventually be deleted. What's the best way to move/copy a project folder?

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 02, 2019

Hi Stephen,

Welcome to the Atlassian Community.

You can simply just copy/paste the folder to where you want the copy to be. Once that is done, in Sourcetree open a new tab and click Add and locate the new copy, and I would recommend also giving the bookmark (the name field) a different name so you can easily distinguish it from the VS2015 repository.

Hi Mikael,

Thank you for answering my question, and so promptly. Your advice sounds quite reasonable and straightforward. Once having added the new local repository in VS2017 I would then connect it to the (same) remote as in VS2015.  I was wondering if I could just modify the path of the old local repo to point to the new one, but I couldn't find any edit function in Sourcetree that lets you modify the local repo path. Also couldn't find a way to edit the tab caption text (bookmark).  If that were possible I was thinking of just doing the copy/paste of the project, and then modify the current Sourcetree tab to point to the local repository to the new folder. Can that be done?

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 03, 2019 • edited

If you move a repository that already has a bookmark in Sourcetree, it will notice it and ask you if you want to update the path or remove the bookmark. So you could just move your VS2015 to another path, open Sourcetree and point to the new path instead or doing a copy/paste.

To edit the bookmark in Sourcetree, just open a new tab, locate the bookmark, right-click on it and delete it. Then click Add and recreate the bookmark with the new name.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events