Alex Cornejo writes:
> Junio C Hamano pobox.com> writes:
>
>> Hmmm, I do not seem to be able to do this, though.
>>
>> $ ln -s $HOME/g/share/git-core/templates /var/tmp/git-template
>> $ cd /var/tmp
>> $ git init --template=/var/tmp/git-template new
>> $ find new
Junio C Hamano pobox.com> writes:
> Hmmm, I do not seem to be able to do this, though.
>
> $ ln -s $HOME/g/share/git-core/templates /var/tmp/git-template
> $ cd /var/tmp
> $ git init --template=/var/tmp/git-template new
> $ find new/.git -type l
> ... nothin
Alex Cornejo writes:
> I was surprised to see that when using git-init, if the template folder
> is itself a symlink, then the contents of the template is NOT copied to
> the resulting git repository, but instead each individual file is
> symlinked.
Hmmm, I do not seem to be able to do this, tho
I was surprised to see that when using git-init, if the template folder
is itself a symlink, then the contents of the template is NOT copied to
the resulting git repository, but instead each individual file is
symlinked.
For my particular use case, this is undesirable (since if I am not
careful, t
4 matches
Mail list logo