gitignore globbing or RE?

I have a little trouble with some auto generated binary files in my project.

So, I have 2 questions:

1)Does gitignore ( the file from a git repository which says which files should not be tracked) uses globbing or regular expressions ?

2)FOr files that are included in gitignore, but are already tracked, do they become untracked ?

Answers


gitignore uses globs. This page should give you all the details.

Also, to ignore uncommitted changes in a file that is already tracked, use git update-index --assume-unchanged.


Need Your Help

PostgreSQL Evolutions: “PSQLException: FATAL: sorry, too many clients already”

postgresql scala playframework-2.0

I'm trying to set up a dev PostgreSQL server. It's running and I'm able to create roles, tables, etc. from the command line. However when I try to apply evolutions using Play, I get the following

Configuration files in Silverlight

c# visual-studio silverlight configuration

I am writing a plugin for Seesmic Desktop 2, and this being my first time using Silverlight, I have a question:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.