Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Outreachy] git: update documentation for --git-dir #537

Closed
wants to merge 1 commit into from

Commits on Jan 29, 2020

  1. git: update documentation for --git-dir

    git --git-dir <path> is a bit confusing and sometimes doesn't work as
    the user would expect it to.
    
    For example, if the user runs `git --git-dir=<path> status`, git
    will skip the repository discovery algorithm and will assign the
    work tree to the user's current work directory unless otherwise
    specified. When this assignment is wrong, the output will not match
    the user's expectations.
    
    This patch updates the documentation to make it clearer.
    
    Signed-off-by: Heba Waly <heba.waly@gmail.com>
    Helped-by: Junio C Hamano <gitster@pobox.com>
    HebaWaly committed Jan 29, 2020
    Configuration menu
    Copy the full SHA
    e27f150 View commit details
    Browse the repository at this point in the history