Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #1831
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking