How do clear/delete "working copy"

I tried to make some changes to my app in a new branch. I changed my mind, and now want to delete that branch and working copy contents. How do I do that? (I'm thinking "clone" with a new branch name, make it my current branch, then delete the old branch.) Will this also clear the working copy or make the new clone the working copy?

2 answers

1 accepted

0 vote
Timothy Chin Community Champion Nov 21, 2013

Can't you just return to the master branch and delete the branch?

What's the difference between a local branch and "working copy"?

Timothy Chin Community Champion Nov 29, 2013

A branch is a branch. Local means its on your client machine. Working copy means a full copy of the repo on your client machine?

Suggest an answer

Log in or Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

274 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot