Re: Help creating git alias
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 31, 2013, 19:41 UTC
- Message-ID
- <xmqq7gct5iu1.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAPZPVFYWf3_xtxKkdw4_gzqKagVsbNvj73cb=RvX1Zm0C1h8pQ@mail.gmail.com>
Eugene Sajine <euguess@gmail.com> writes:
> One note: i tried the ${GIT_PREFIX:-.} and ${GIT_PREFIX} and it seems
> to give the same results. What is the expected difference here?GIT_PREFIX may be an empty string when you run from the top-level, in which case you would end up with "cd && ..." and end up working in your $HOME.