Re: Git BOF notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Petr Baudis <pasky@xxxxxxx> wrote:

> > Usually I start small projects as a single .c or .java file. Only after a 
> > while, I think it is worth it to init a git database. So, I _always_ have 
> > generated files lying around. And I would hate it if they were checked in 
> > automatically. (Yeah, I could remove them, _then_ remove them from the 
> > index, and then git-commit --amend. Ugly.)
> 
> Can't you just do make clean before git init? Or you can prepare
> .gitignore before you check stuff in, so that the autogenerated files
> don't pollute your git status output. ;-)

I like git init-db as it is now.  I don't want it to automatically add
files.  GIT does what you ask it to do, not what it _thinks_ you want to
do.

-- 
http://onion.dynserv.net/~timo/
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]