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

Can I have multiple repositories point to the same local directory?

Ruby November 13, 2015

I have a separate staging and production repositories but there is only one version of the files locally. SourceTree doesn't allow me to add anew repository in the existing directory. Is there any way around this?

1 answer

1 accepted

1 vote
Answer accepted
Tim Crall
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 13, 2015

If you are talking about be able to push/pull to different remote copies of the repo, yes, you can do that.  That requires you to configure multiple "remotes".  

 

If you're asking about something else, I'm not quite sure what you're trying to do.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events