Re:Generate new repositories with repository templates
by phreack on Saturday June 08, 2019 @02:50PM
(#20134274)
I don't get it either, is it literally the same thing a a a clone with a different name?
Re:Generate new repositories with repository templates
by imran3740 on Saturday June 08, 2019 @03:08PM
(#20134395)
No, this does not preserve the history of the repo, just gives a single commit with the existing files. You might also think of this as cloning, then squashing down the entire history (well, everything in master anyways) to a single (root) commit.
Re:Generate new repositories with repository templates
by RyJones on Saturday June 08, 2019 @03:46PM
(#20134665)
Maybe I remember incorrectly, but I thought the template came from the default branch?
Re:Generate new repositories with repository templates
by phreack on Saturday June 08, 2019 @06:11PM
(#20135519)
Oh I get it now, thanks!
Re:Generate new repositories with repository templates
by AtlasBarfed on Saturday June 08, 2019 @04:31PM
(#20134961)
Templates are a copy of a non empty word document
Cloning is a word document with versions turned on that copied all the previous versioning information
Yes, it does sacrifice some learning about git, but once you get someone hooked on programming they will be able to learn the tools later.