logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gcli repos — Manage remote repositories on various git forges

Actions

actions... may be one or more of the following:

       delete [-y]           Delete the repository. You will be asked for confirmation unless you set -y.

       set-visibilitylevel  Change the visibility level of the repository.  level may be one of:

                             private  Make the repository private.

                             public   Make the repository public.

Authors

       Nico Sonack aka. herrhotzenplotz <nsonack@herrhotzenplotz.de> and contributors.

Bugs

       Currently  it  is  only  possible to create repositories for authenticated users thus it is impossible to
       create a repository in another organization.

       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.

gcli 2.3.0                                         2024-May-25                                     GCLI-REPOS(1)

Description

gcli  can  be  used to list or manage your own or an organization's repositories on git(1) forges such as
       Github, Gitea and GitLab. With no actions given, gcli will list repositories, either of  the  through  -o
       specified  owner  or,  if omitted, your own. Otherwise the given actions are executed on the specified or
       autodetected repository. See “ACTIONS”.

Examples

       List your own repos:

             $ gcli repos

       List neutaaaaan's repositories:

             $ gcli repos -o neutaaaaan

       Delete vim/vim without confirmation:

             $ gcli repos -o vim -r vim -y delete

       Create a repository called emacs with a description and make it public:

             $ gcli repos create -r emacs -d "welcome to the holy church of emacs."

Name

       gcli repos — Manage remote repositories on various git forges

Options

-s, --sorted
               Reverse the output such that most recent items appear at the bottom.

       -o, --ownerowner
               Operate on the repository of the given owner. This option can only be used  in  combination  with
               -r.

       -r, --reporepo
               Operate  on  the given repository. This option can only be used in combination with -o unless you
               are creating a repository.

       -y, --yes
               Do not ask for confirmation. Assume yes. Applies only to the delete action.

       -n, --countn
               Fetch at least n repositories. Setting n to -1 will fetch all  repositories.  Default:  30.  Note
               that on owners with many repositories fetching all of them can take a considerable amount of time
               and may result in rate limiting by the GitHub/GitLab API.

       -d, --descriptiondescription
               Set the description of a repo to be created.

       -p, --private
               Create a private repo.

See Also

git(1), gcli(1), emacs(1)

Synopsis

gcli [-s] [-nn] [-oowner]
       gclicreate-rname [-ddescription] [-p]
       gcli [-oowner-rrepo] actions...

See Also