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 votes
Answer accepted
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 Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,230 views 4 2
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