HTCondor Project List Archives



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

Re: [Condor-devel] What to do with .gitignore?



At some point I gave up on .gitignore, and did this:

[alias]
stat = !git status | awk '/ntracked files/ { exit } /.*/ { print $0 }'

which outputs what I generally consider the 'useful' stuff like branch, altered files, new files, deleted files, etc, and then skips the long list of untracked files that I mostly consider noise:

$ git stat
# On branch uw/master



On Thu, 2012-09-06 at 17:57 -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 sometimes keep mine up-to-date in my work area, but "git diff" shows the additions I made to .gitignore.  In response, I got in the habit of doing "git diff src" ... which then meant I forgot to commit changes to the build/ directory!

Any pro-tips for getting "git status" working again?  Alternately, would someone care if I committed a .gitignore that took out build artifacts?

Thanks,

Brian
_______________________________________________ Condor-devel mailing list Condor-devel@xxxxxxxxxxx https://lists.cs.wisc.edu/mailman/listinfo/condor-devel