Re: git client enhancement request

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



<lbdyck@xxxxxxxxx> writes:
> I would like to see the option to allow the git client to request the
> creation of a new empty git repository on the git server without
> having to open the web interface to the git server to define a new
> repository.
>
> Perhaps something like:  git server-repo public/private name

Is this even technically feasible? My understanding is that
storage implementations of each forge vary *wildly*. I don't believe
this would be under Git's ability to implement as a project.

You might look into combining your preferred forge's CLI with git
aliases:

  - GitHub has 'gh': https://cli.github.com
  - GitLab has 'glab' https://docs.gitlab.com/ee/editor_extensions/gitlab_cli

so you could alias

    git config alias.server-repo '!gh repo create'

to get something of what you want.

I believe GitLab also has a feature where you can create repositories
just by pushing an existing repository to an empty project path.

-- 
Sean Allred





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux