How to remote set-url origin in SourceTree?

Lee Whitney June 20, 2013

Sorry for the dumb question - I'm trying to do the example below in SourceTree to setup a GitPages site. I think I have completed the first two lines ok.

How would I perform the third line (remote set-url) with SourceTree?

Thanks for the help -

$ git clone https://github.com/plusjade/jekyll-bootstrap.git USERNAME.github.com $ cd USERNAME.github.com $ git remote set-url origin git@github.com:USERNAME/USERNAME.github.com.git $ git push origin master

2 answers

1 accepted

4 votes
Answer accepted
Johannes Kilian
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.
July 18, 2013

You can do it with following steps:

Source - Add Remote Repository Paths

BTW: Tag your question with "Sourcetree" - so it get's the right focus within "answers.atlassian.com" (I just have seen your question accidently ...)

Dan Pidcock July 16, 2014

what steps?

Johannes Kilian
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.
July 16, 2014

?

Open SourceTree ...

Select "Repository Settings" from "Repository" menu as shown above ...

Press the "Add" button in the "Repository Settings" dialog box and enter appropriate data ...

That's it!

Dan Pidcock July 22, 2014

Thanks that does it. For some reason there are no steps show for me, all I can see is as shown in the attached screenshot!

Probably because imageshack is blocked by many corporate IT departments...

Johannes Kilian
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.
July 23, 2014

Sry about this - glad you found it with my short instructions

0 votes
Johannes Kilian
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.
July 23, 2014

Sry - didn't know about that ...

Glad you found it with my short instructions

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events