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

Do you need to strengthen the security of the mobile apps you build? Discover more than 50 secure mobile development coding practices to make your apps more secure.

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.

Check out tips for blazing the way from agile to DevSecOps with security built into your mobile app toolchain.

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 }}