Re: git ate my home directory :-(
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Mar 25, 2013, 22:15 UTC
- Message-ID
- <20130325221512.GI1414@google.com>
- In-Reply-To
- <5150CB34.1030008@nod.at>
Richard Weinberger wrote:
> Okay, I have to set GIT_DIR _and_ GIT_WORK_TREE to make my scripts safe again? > I've always set only GIT_DIR because it just worked (till today...).
chdir-ing into the git repo without setting any GIT_* vars is probably the simplest way to go.