Over a million developers have joined DZone.

Solving SourceTree Issues: Invalid Copy Paths

In this post we take a look at how to resolve the issue mentioned in the title of this article. Read on to find out what that resolution is.

· DevOps Zone

Download “The DevOps Journey - From Waterfall to Continuous Delivery” to learn learn about the importance of integrating automated testing into the DevOps workflow, brought to you in partnership with Sauce Labs.

Background Information

My system got upgraded to Windows 8.1 and I had to install all required software for the development work. I use SourceTree as a tool for Git commands for the projects, so I installed that again after the format.

The Problem

Unfortunately, when I started adding the projects as working copy, it complained to me that "This is not a valid working copy path." The error is not so much self-explanatory, which triggered research work.

The Solution

Before I landed upon the solution, I had visited all available menu options in SourceTree to find out the problem. Finally, something engrossed me. I was on the Git Tab.

Tools -> Options -> Git

I found some buttons saying "Use Embedded Git" and "Use System Git" at the bottom. I suspected that Git is not yet enabled for SourceTree and therefore was not able to identify my commands. I enabled it; that’s why it is shown as disabled below.

SourceTree Git Settings

SourceTree Git Settings

Voila! Everything started working as expected.

Help Someone

Share in your circle. Hit the social icons below. Keep coding, folks.

Thanks for reading. Have a great day ahead.

Discover how to optimize your DevOps workflows with our cloud-based automated testing infrastructure, brought to you in partnership with Sauce Labs

sourcetree ,devops ,copy paths ,software development

Published at DZone with permission of Tadit Dash, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}