Am 16.10.2014 um 18:57 schrieb Junio C Hamano:
> Thomas Braun writes:
>
>> I've encountered an oddity with git describe.
>> Consider the following snippet:
>> -
>> mkdir test
>> cd test
>> git init
>> echo 1 > file
>> git add file
>> git commit -m "changes"
>> $ git describe --always --dirty
Thomas Braun writes:
> I've encountered an oddity with git describe.
> Consider the following snippet:
> -
> mkdir test
> cd test
> git init
> echo 1 > file
> git add file
> git commit -m "changes"
> $ git describe --always --dirty
> 8ad486e
> $ cd ..
> $ git --git-dir=test/.git describe --al
Hi,
I've encountered an oddity with git describe.
Consider the following snippet:
-
mkdir test
cd test
git init
echo 1 > file
git add file
git commit -m "changes"
$ git describe --always --dirty
8ad486e
$ cd ..
$ git --git-dir=test/.git describe --always --dirty
8ad486e-dirty
$ GIT_DIR=test/.g
3 matches
Mail list logo