About the author

Related Articles

One Comment

  1. 1

    Jan Tvrdík

    According to documentation, the file should contain path to the actual repository directory.

    Also you can have a plain text file .git at the root of your working tree, containing gitdir: to point at the real directory that has the repository. This mechanism is often used for a working tree of a submodule checkout, to allow you in the containing superproject to git checkout a branch that does not have the submodule

    source: https://git-scm.com/docs/gitrepository-layout


Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2017 SolutionMmyself.com