Git - Change Origin Remote URL

visibility 60 access_time 2 years ago languageEnglish

Code snippet

git remote set-url origin 'new_url'

The above command change the remote to a new URL.

For example, the following command changes remote git repository to project sample_proj under sample-org organization on Azure DevOps.

git remote set-url origin
copyright This page is subject to Site terms.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts

timeline Stats
Page index 0.12
More from Kontext
Scala - Add Constant Column to Spark Data Frame
visibility 758
thumb_up 0
access_time 2 years ago
Spark Scala: Load Data from SQL Server
visibility 1,758
thumb_up 0
access_time 2 years ago
Scala: Remove Columns from Spark Data Frame
visibility 2,026
thumb_up 0
access_time 2 years ago