Table of Contents

About

The working tree (or working area) is a directory where the work happens (extraction, modification, commit).

It's on the local file system:

Management

Location

The location of the work tree is:

Purge

If you want to your working directory back to the status of upstream, the following commands can be used (remember everything you've worked on is gone after these):

git reset --hard upstream/master
git clean -fdx