Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
TortoiseGit
TortoiseGit
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 303
    • Issues 303
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Requirements
    • Requirements
    • List
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Analytics
    • Analytics
    • CI/CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #1800

Closed
Open
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
None
Milestone
None
Assign milestone
Time tracking