Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Solving SourceTree Issues: Invalid Copy Paths

DZone's Guide to

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 ·
Free Resource

Discover a centralized approach to monitor your virtual infrastructure, on-premise IT environment, and cloud infrastructure – all on a single platform.

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.

Learn how to auto-discover your containers and monitor their performance, capture Docker host and container metrics to allocate host resources, and provision containers.

Topics:
sourcetree ,devops ,copy paths ,software development

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}