Thursday, 15 December 2016

sourcetree - linking local repo to remote repo

sourcetree ftw

the scenario
i have an non-empty github repo on my local machine. i want to "sync" this towards github.com, using sourcetree. os being win 10.

the solution
the solution is to add a working copy, not to clone a repository. if you clone you should clone to an empty folder. however, if you already have a local repo just add a working folder to sourcetree, and you are good to go.

adding working copy in sourcetree.

the locally stored git repo to be synced with github.com's remote repo.

the same repo as located at github.com.


No comments:

Post a Comment

Allowed HTML tags:
<b>bold</b>
<strong>strong</strong>
<i>italics</i>
<em>emphasis</em>
<a href="">hyperlink</a>


Please, show the courtesy of identifying yourself when adding a comment. Anonymous comments will, most likely, be removed.