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
Next: Root
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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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?
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.