docs: you can add another git remote

This commit is contained in:
2024-05-12 09:04:52 +02:00
parent fae2771645
commit 9f3a3808f9
2 changed files with 12 additions and 4 deletions

View File

@ -4,9 +4,17 @@
- Clone your repository
Alternatively, you can change the `origin` remote on your existing clone:
1. Alternatively, you can add a remote called `fork`:
`git remote set-url origin https://dev.tildefriends.net/YOUR_USERNAME/tildefriends.git`
`git remote add fork https://dev.tildefriends.net/YOUR_USERNAME/tildefriends.git`
You'll need to set your branch's upstream to `fork`:
`git push --set-upstream fork my-branch`
2. or you can change the `origin` remote on your existing clone altogether:
`git remote set-url origin https://dev.tildefriends.net/YOUR_USERNAME/tildefriends.git`
- Make your changes