RE: git client enhancement request
- From
- lbdyck@gmail.com <lbdyck@gmail.com>
- Date
- May 13, 2024, 19:11 UTC
- Message-ID
- <053a01daa569$6df23570$49d6a050$@gmail.com>
- In-Reply-To
- <019201daa569$0ae28f20$20a7ad60$@nexbridge.com>
I understand that there is currently no function such as I'm requesting - but perhaps there could be.
Lionel B. Dyck <>< Github: https://github.com/lbdyck System Z Enthusiasts Discord: https://discord.gg/sze
“Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are.” - - - John Wooden
-----Original Message----- From: rsbecker@nexbridge.com <rsbecker@nexbridge.com> Sent: Monday, May 13, 2024 2:09 PM To: 'Sean Allred' <allred.sean@gmail.com>; lbdyck@gmail.com Cc: git@vger.kernel.org Subject: RE: git client enhancement request
On Monday, May 13, 2024 1:56 PM, Sean Allred wrote:
Show 27 quoted lines
><lbdyck@gmail.com> 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.
Please have a look at the github/bitbucket/gitlab/azuregit REST API for doing what you are trying to do. There is no specific "git client" function as git is symmetrical. --Randall