From: Junio C Hamano Date: Thu, 17 Jul 2008 18:29:13 GMT Subject: Re: Considering teaching plumbing to users harmful Message-ID: <7vtzeofjpi.fsf@gitster.siamese.dyndns.org> In-Reply-To: Johannes Schindelin writes: >> 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.