I was not aware of git subtree. I'll go and do some reading. Thanks
for the pointer!
On 1 October 2012 17:40, Jens Lehmann wrote:
>
> Am 01.10.2012 14:05, schrieb Howard Miller:
> >>
> >> Perhaps:
> >>
> >> git rm -f --cached path/to/subdir # remove from index, keep files
> >> git add path/
Am 01.10.2012 14:05, schrieb Howard Miller:
>>
>> Perhaps:
>>
>> git rm -f --cached path/to/subdir # remove from index, keep files
>> git add path/to/subdir
>>
>> -- Hannes
>
> Fantastic worked perfectly. I'll write that down somewhere for
> the next time I do it :)
>
> Is there a bett
>
> Perhaps:
>
> git rm -f --cached path/to/subdir # remove from index, keep files
> git add path/to/subdir
>
> -- Hannes
Fantastic worked perfectly. I'll write that down somewhere for
the next time I do it :)
Is there a better way of handling sub-modules like that? I've looked
at git
Am 10/1/2012 12:41, schrieb Howard Miller:
> - I have an existing (long standing) project in git with an upstream in github
> - I added a subdirectory which I had forgotten was itself a git
> project (i.e. it has its own .git directory)
> - I committed the subdirectory (git add /path/to/subdir; gi
4 matches
Mail list logo