GCLI-FORKS(1) | General Commands Manual | GCLI-FORKS(1) |
gcli forks
—
Manage repository forks in git forges
gcli forks |
[-n n]
[-y ] [-s ]
[-o owner
-r repo]
actions... |
gcli forks |
create [-o
owner -r
repo] -i
target-owner |
Use gcli forks
to manage forks of other
repositories in various git(1) forges such as GitHub,
GitLab and Gitea.
-o
,
--owner
owner-r
.-r
,
--repo
repo-o
.-y
,
--yes
-s
,
--sorted
-i
,
--into
target-owner-n
,
--count
nactions... may be one or more of the following:
Clone vim/vim and fork it into your account:
$ git clone git@github.com:vim/vim $ cd vim $ gcli forks create --into <myaccount>
This will ask you if you want to add a remote to your fork. In case you accept the offer, the origin remote will be renamed to upstream and a new origin will be pointed at your newly created fork. You may also want to setup a .gcli file at the same time:
$ printf -- "pr.upstream=vim/vim\npr.base=trunk\n" >> .gcli
Delete your fork of the current repository without confirmation:
$ gcli forks -y delete
Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.
Please report bugs via E-Mail to ~herrhotzenplotz/gcli-discuss@lists.sr.ht.
Alternatively you can report them on any of the forges linked at https://herrhotzenplotz.de/gcli. However, the preferred and quickest method is to use the mailing list.
2024-Feb-05 | gcli 2.2.0 |