mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-04-11 13:26:41 +00:00
git: add remote set-url
notes
This commit is contained in:
parent
1f98fb1b5b
commit
fae2e019ae
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ The applied config in each repository is the combination of all three scopes in
|
|||
`git remote add <remote> <url | path>`: add a remote
|
||||
`git remote remove <remote>`: remove the specified remote
|
||||
`git remote rename <old_name> <new_name>`: rename a remote
|
||||
`git remote set-url <name> <url>`: change the URL for the remote
|
||||
`git remote set-url --add <name> <url>`: add another URL for the remote
|
||||
`git remote set-url --add --push <name> <url>`: add another push URL for the remote
|
||||
`git remote set-url <name> <url>`: change the URL for rhe remote
|
||||
`git branch -u|--set-upstream-to=<remote>/<remote branch>`: set up correspondence between local and remote branch
|
||||
|
||||
`git push`: send objects to default remote on current branch
|
||||
|
|
Loading…
Add table
Reference in a new issue