how to make svn or git only monitor a list of files, but ignores anything else

for example there are lots of files in one directory, but i only want to monitor Makefile and ... , what i should input to .gitignore or .svnignore?

bin  docs                include  **Makefile**  Packages     README.SDK  scripts      target
build_dir  dl         feeds.conf.default  LICENSE  package   Packages.gz  ****    staging_dir  tmp


The rules for a .gitignore file would ignore everything and then exclude Makefile and

>>.gitignore cat

Note that you could just ignore everything after you have added Makefile and and you wouldn't notice a difference.

Need Your Help

How to locate a button

selenium-webdriver protractor

Below is the source code for two buttons:

.NET msi installer version

.net visual-studio-2008 deployment windows-installer setup-project

How can you set up the version of the MSI installer that was created via Setup Project in Visual Studio 2008?

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.