Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

set remote url git

$ git remote add origin https://github.com/user/repo.git
# Set a new remote

$ git remote -v
# Verify new remote
> origin  https://github.com/user/repo.git (fetch)
> origin  https://github.com/user/repo.git (push)
Source by help.github.com #
 
PREVIOUS NEXT
Tagged: #set #remote #url #git
ADD COMMENT
Topic
Name
8+7 =