Add tea repo fork
#410
No reviewers
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#410
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "noerw/tea:add-repo-fork"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a new subcommand to fork repos.
To specify the repo to fork, use the
--repo
flag. This feels a bit weird, other tea commands would put this as the first argument.I decided to follow the flag style, as this is what all other subcommands of
tea repo
do. We might want to reconsider and make the primary subject of such commands an argument, instead of an required flag.. see #430noerw referenced this pull request2021-09-25 10:37:00 +00:00
@ -0,0 +1,57 @@
// Copyright 2020 The Gitea Authors. All rights reserved.
2021