Git - Working Directory

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).





Discover More
Git - Checkout

A checkout will change the current branch Specifically, it will checkout the files from the repository for a branch in the working directory to match the version in the index (staging area) ...
Git - Clone

git clone creates a clone known as local repository from a remote repository. cloning in git means: downloading the remote repository into a newly created directory setting for each downloaded branch...
Git - Submodule (modules)

Submodules allow you to keep a Git repository as a subdirectory of another Git repository. package manager A submodule is materialzied as: a subdirectory in your working directory. with its metadata...



Share this page:
Follow us:
Task Runner