Allow Origin Remote Renaming on Clone
By dmpra... on July 08, 2013 14:56 (imported from Google Code)
git clone has the following option:
--origin <name>
-o <name>
Instead of using the remote name origin to keep track of the upstream repository, use <name>.
The TortoiseGit clone dialog does not have a way to utilize that feature. I request that a checkbox be added to the set of "flag checkboxes" labeled "Origin Name" and have a textbox attached to give an origin name. It would look and behave similarly to the branch checkbox and textbox.
Reason for Request:
We use "git clone" when working on a branch so that we can work in multiple branches simultaneously. I like to use the -o option on the branch clones to rename their origin as "trunk" to limit confusion. Obviously this is still possible in TortoiseGit using the Remotes dialog tab after the clone is created, but so is checking out a branch on the clone :) I would appreaciate a way to do this as part of the clone, because the fewer the steps, the less likely the user will get confused.
Thank you.