mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 13:45:19 +00:00
improve git-setup-doc
This commit is contained in:
parent
cde603dd0e
commit
1f80e99857
|
@ -14,8 +14,15 @@ TAGS="sqlite" make build generate-swagger
|
||||||
# sync base branch
|
# 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 checkout forgejo-development
|
||||||
git rebase --onto forgejo/forgejo-development
|
git rebase --onto forgejo/forgejo-development
|
||||||
git push --force
|
git push --force
|
||||||
|
@ -24,5 +31,6 @@ git checkout forgejo-federated-star
|
||||||
git rebase forgejo-development
|
git rebase forgejo-development
|
||||||
git push --force
|
git push --force
|
||||||
|
|
||||||
|
# continue local development after rebase & force-push has happened
|
||||||
git reset --hard origin/forgejo-federated-star
|
git reset --hard origin/forgejo-federated-star
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue