forked from forgejo-contrib/soft-fork-tools
|
||
---|---|---|
.gitignore | ||
.woodpecker.yml | ||
README.md | ||
api-test.sh | ||
api.sh | ||
archive-branches-test.sh | ||
archive-branches.sh | ||
common-test.sh | ||
common.sh | ||
git.sh | ||
main.sh | ||
pull-branches.sh | ||
rebase-test.sh | ||
rebase.sh | ||
tests.sh |
README.md
In support of the documented Forgejo workflow.
Dry run
DRY_RUN=dry_run REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh archive_branches
and copy paste the output in a shell
Archive branches
REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh archive_branches
Rebase branches
OWNER=forgejo NAME=forgejo FORGEJO_INSTANCE=codeberg.org FORGEJO_SCHEME=https FORGEJO_TOKEN=$rebasetoken REMOTE=forgejo bash ~/software/forgejo/soft-fork-tools/main.sh rebase_feature_branch v1.18/forgejo-development