Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.gitignore alternative in Perforce

We've been using github enterprise account to host a number of projects in the cloud. Now we are moving to perforce on-premises installation.

We are mostly developing in ASP.NET MVC + using ReSharper. With git we had a .gitignore file in the project folder that allowed us to automatically filter out folders and file types on commit, so we don't flood the repository with personal project files.

How do I configure Perforce so that it automatically filters _Resharper* folder during the commit?

like image 572
Maxim V. Pavlov Avatar asked May 05 '13 11:05

Maxim V. Pavlov


1 Answers

Starting 2012.1 you do have a p4ignore which avoids adding files to the depot.

You have other alternatives explained in "Can you “ignore” a file in Perforce?"

like image 69
VonC Avatar answered Sep 23 '22 03:09

VonC