Bubble Foundry


Git Status From Outside of the Working Directory

by Peter.

This took me a while:

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

For example:

git --git-dir=/Users/peter/Sites/cap/.git --work-tree=/Users/peter/Sites/cap status

Annoying but least it’s possible.