[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-devel] What to do with .gitignore?
- Date: Thu, 6 Sep 2012 20:17:04 -0500
- From: Nathan Panike <nwp@xxxxxxxxxxx>
- Subject: Re: [Condor-devel] What to do with .gitignore?
On Thu, Sep 06, 2012 at 06:38:33PM -0500, Brian Bockelman wrote:
>
> On Sep 6, 2012, at 6:02 PM, Zachary Miller <zmiller@xxxxxxxxxxx> wrote:
>
> > On Thu, Sep 06, 2012 at 05:57:01PM -0500, Brian Bockelman wrote:
> >> Hi git experts,
> >>
> >> What do you folks do with .gitignore? The fact that the default one doesn't filter out build artifacts drives me nuts, as "git status" is useless mostly.
> >
> > i always do "out-of-source" builds, which skirts that issue entirely.
> >
>
> I understand there are some quite nice appeals of out-of-source, but, for some reason, they don't appear to jive with my workflow.
>
> >
> >> Any pro-tips for getting "git status" working again? Alternately, would someone care if I committed a .gitignore that took out build artifacts?
> >
> > i would be fine with .gitignore ignoring build artifiacts. i guess the only
> > danger is intentially creating a file that matches one of your rules, but that
> > seems unlikely to me.
> >
>
> Ok. I'll wait to see if anyone else chimes in, then do this approximately tomorrow.
>
> Brian
Because I have a bad habit of doing in-source builds,
git clean -ndfx | sed 's/^Would remove //' > .git/info/exclude
works for me.
Nathan Panike