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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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 ...

647 views 0 4
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