Home DevOps Git This is not a valid source path / URL – SourceTree and Gitlab

This is not a valid source path / URL – SourceTree and Gitlab

1
This is not a valid source path / URL – SourceTree and Gitlab

Problem:

This is not a valid source path / URL

I have been working on a project with a friend who set up a repository in Gitlab; and even though I was able to view all projects on it, I couldn’t really join the repository. I was using SourceTree and Gitlab.

While using SourceTree, attempting to clone a remote repository, was throwing the following error under Repository Type: This is not a valid source path / URL

Clicking on Clone will prompt the following error:

This is not a valid source path / URL

Solution:

The solution was simple, I just updated the Git Version. From SourceTree, go to Tools > Options > Git > Git Version > Update Embedded.

This is not a valid source path / URL

After updating the Git version, you should be able to clone the repository; and under Repository Type, you should see: This is a Git repository.

This is not a valid source path / URL

Other solution:

Try updating the Mercurial Version.

Skip the setup of Git & Mercurial in the wizard.

Resources:

https://www.sourcetreeapp.com/

https://about.gitlab.com/

1 COMMENT

  1. I’ve been stuck for WEEKS on this exact problem and would have continued being lost without you!! THANK YOU JUAN!

LEAVE A REPLY

Please enter your comment!
Please enter your name here