git status вне рабочей папки

Не обязательно заходить в папку, статус которой хотите посмотреть:

git --git-dir=the/local/repo/.git --work-tree=the/local/repo status

Не очень удобно, но всё же возможно.

Tagged , , . Bookmark the permalink.

Leave a Reply

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