Re: Considering teaching plumbing to users harmful
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 10 quoted lines
>> Is there a way to commit the contents of a tarball without using
>> plumbing? I occasionally want to track an upstream that I know only as
>> a series of tarballs, so I do something like:
>>
>> cd repo/
>> git checkout upstream
>> rm -rf *
>> tar -xzvf ../new-version.tar.gz
>
> How about "git add -u" and "git add ."?
It would work only if new version never removes files.