$ git remote set-url <remote-name> <new-url> $ git remote set-url origin https://github.com/user/repo.git Tags: git Post author:Leonid V. Fedorenchik Post published:2015-09-30 Post category:Tooltips Post comments:0 Comments Read more articles Previous Postgit push renamed branchNext Postgit: permanently store https credentials You Might Also Like XTerm + TTF fonts + UTF8 + Chinese (Double Sized) Characters 2015-05-03 Extract VimBall to specified directory 2018-04-29 Append string to each line in Bash 2015-05-08 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.