Table of Contents

About

A page about the working directory in git (ie where the git process will start, not to confound with the working area)

How is git calculating the working directory

  • If the -C path option Doc, the working directory will be set to path
  • otherwise the working directory is the root of the repository (ie where the .git directory can be found in the tree).