How to remove old source file?
Richard W.M. Jones
rjones at redhat.com
Sun Nov 15 20:19:41 UTC 2015
On Sun, Nov 15, 2015 at 08:45:04PM +0100, Till Maas wrote:
> On Sun, Nov 15, 2015 at 08:01:15PM +0100, Kevin Kofler wrote:
>
> > Detecting obsolete tarballs is not what git status is for. It should only be
> > listing files that really need to be added to git (or to the lookaside
> > cache).
>
> It also breaks git clean which is used to clean files. What is the
> reason that making .gitignore append-only would be useful btw?
> What is the proper way in your opinion to clean all tarball but the
> required ones?
git clean -xdf
fedpkg sources
Of course it downloads the tarballs again :-/
I think it would be a nice fix to fedpkg to have 'fedpkg clean' do
something smarter than just pass through to 'git clean'.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine. Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
More information about the devel
mailing list