Move all files to sculpin/
This commit is contained in:
parent
c5d71803a5
commit
0f61b4e9ee
1514 changed files with 0 additions and 0 deletions
17
sculpin/source/_posts/9.md
Normal file
17
sculpin/source/_posts/9.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
title: Git remotes can have more than one URL
|
||||
date: 2024-08-22 09:43:42
|
||||
tags: [Software Development, Git]
|
||||
note: true
|
||||
permalink: /notes/9-git-remotes-can-have-more-than-one-url
|
||||
---
|
||||
|
||||
If you want to have multiple URLs for a single remote so `git push origin ...` will push to multiple remotes, such as GitHub and GitLab, or a personal repository and a client repository, you can do `git remote set-url --add origin <url>`.
|
||||
|
||||
Then `git remote -v` should show something like this:
|
||||
|
||||
```plain
|
||||
origin git@github.com:opdavies/zet.oliverdavies.uk (fetch)
|
||||
origin git@github.com:opdavies/zet.oliverdavies.uk (push)
|
||||
origin git@gitlab.com:opdavies/zet.oliverdavies.uk.git (push)
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue