diolemo
diolemo

Reputation: 2671

github clone (auto initialisation)

Does github provide the option to have a repository auto initialised so that you can just do git clone <uri> rather than the entire init, add file, commit, add remote, push process as shown in their instructions?

If not, is there a technical reason as to why?

Running git clone <uri> after having the repository created by github seems a lot easier.

Upvotes: 0

Views: 175

Answers (1)

Mark
Mark

Reputation: 6128

Running git clone <uri> should work fine. There are several options, including the folder to create the clone in. The default is to create a folder whose name matches the source repo.

Check out the git-clone man page for all of the gory details.

Upvotes: 1

Related Questions