threads / discuss / 44699

Creating remote git repository?

Subject: Creating remote git repository?

## tl;dr

3 messages between Dec 14, 2016 and Dec 14, 2016.

replies: 2people: 3as markdown or json

essam Ganadily· Dec 14, 2016, 06:00 UTC · lore

given that git is an old and mature product i wounder why there is no command line (git.exe in windows) way of creating a remote git repository?

"git remote create repo myreponame"

frankly speaking i know that our friends in the linux kernel project never felt the need to create remote repository because they probably rarely need that but i guess their merciful hearts could have some feeling for the rest of us?

Konstantin Khomoutov· Dec 14, 2016, 06:36 UTC · re: essam Ganadily · lore

Re: Creating remote git repository?

On Wed, 14 Dec 2016 09:00:42 +0300 essam Ganadily <doctoresam@gmail.com> wrote:

Show 10 quoted lines
> given that git is an old and mature product i wounder why there is no
> command line (git.exe in windows) way of creating a remote git
> repository?
> 
> "git remote create repo myreponame"
> 
> frankly speaking i know that our friends in the linux kernel project
> never felt the need to create remote repository because they probably
> rarely need that but i guess their merciful hearts could have some
> feeling for the rest of us?
Also asked and answered (by me) over there at git-users [1].
1. https://groups.google.com/d/msg/git-users/twgkOYV6kX4/FED559TPDQAJ
Randall S. Becker· Dec 14, 2016, 10:57 UTC · re: essam Ganadily · lore

RE: Creating remote git repository?

On December 14, 2016 1:01 AM, essam Ganadily wrote:
> given that git is an old and mature product i wounder why there is no
> command line (git.exe in windows) way of creating a remote git repository?
> 
> "git remote create repo myreponame"

Why not run the commands mkdir myreponame; cd myreponame; git init .... under an SSH command on the destination host. That should get you what you want. Cheers, Randall

-- Brief whoami: NonStop&UNIX developer since approximately UNIX(421664400)/NonStop(211288444200000000) -- In my real life, I talk too much.

← back to recent threads