mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 06:43:34 +01:00
improve git-setup-doc
This commit is contained in:
parent
cde603dd0e
commit
1f80e99857
1 changed files with 9 additions and 1 deletions
|
@ -14,8 +14,15 @@ TAGS="sqlite" make build generate-swagger
|
|||
# sync base branch
|
||||
|
||||
```
|
||||
git remote add git@codeberg.org:forgejo/forgejo.git
|
||||
# add remotes
|
||||
git remote add forgejo git@codeberg.org:forgejo/forgejo.git
|
||||
git remote add exozy https://git.exozy.me/a/gitea.git
|
||||
|
||||
# get the exozy development local
|
||||
git fetch exozy
|
||||
git switch -c exozy exozy/main
|
||||
|
||||
# rebase on top of forgejo/forge-development
|
||||
git checkout forgejo-development
|
||||
git rebase --onto forgejo/forgejo-development
|
||||
git push --force
|
||||
|
@ -24,5 +31,6 @@ git checkout forgejo-federated-star
|
|||
git rebase forgejo-development
|
||||
git push --force
|
||||
|
||||
# continue local development after rebase & force-push has happened
|
||||
git reset --hard origin/forgejo-federated-star
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue