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
  • #1800
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

Automatically remove "git clone " from URL in Clone dialog

By ...@mg.to on June 04, 2013 08:08 (imported from Google Code)


What steps will reproduce the problem?

  1. View any git repository on bitbucket.com and click the Clone button.
  2. Select either the SSH or HTTPS option.
  3. Use Ctrl+C to copy the URL which is preselected in the dialog.
  4. Right click in an Explorer window and select Git Clone...
  5. Use Ctrl+V to paste the URL into the URL field.
  6. Hit Enter or click OK.

What is the expected output?

It should clone the repo.

What do you see instead?

One or more fatal error messages, the details varying between the SSH and HTTPS options.

What version of TortoiseGit and msysgit are you using? On
what operating system?

TortoiseGit 1.8.3.0, git 1.8.1.msysgit.1, Windows 8.

Please provide any additional information below.

What really happened was that the "URL" that Bitbucket provides in their Clone box doesn't look like one of these:

git@bitbucket.org:example/example.git

https://bitbucket.org/example/example.git

Instead, they kindly add 'git clone' for command line users.

git clone git@bitbucket.org:example/example.git

git clone https://bitbucket.org/example/example.git

So that was what I pasted into TortoiseGit's Clone dialog without noticing the prefixed command.

Clearly, failing to remove the "git clone" command was a user error on my part. But you would be surprised how easy it is to miss it - especially if you're used to GitHub where their clone box provides the bare URL which pastes into TortoiseGit without error.

It would be neat if TortoiseGit could remove the "git clone" automatically when a repo is cloned.

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