Git - Repository (Directory)

About

The notion of repository in Git

A repository is a database for file where you will find:

When you are working in git, you are working in the working area which is by default a checkout of the last files version.

Duplicate of git-dir ?

git directory: subdirectory named .git that contains all repository files (metadata, commit, snapshot)

Structure

Management

Create

Private / Public

Strategy:

  • use private submodule by adding /.gitmodules to gitignore and share it amongst developers via a back-channel.
  • 2 different repositories where the relationship is build using symlinks (the ide should support it)

See also installing-projects-from-source


Powered by ComboStrap