Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which file types and folders can be ignored for version control in MonoTouch

We are trying to build our repository rules for MonoTouch 5.x and can't find any good guidance on which folders and file types can be safely omitted from the repository.

If there is a general guidance document available or can anyone provide details on the following files and folders:

Folders
  bin (already assuming this is not included)
  build (new to MonoTouch 5)
  obj (already assuming this is not included)

File Types
  .pidb
  .userprefs
  .plist
like image 478
competent_tech Avatar asked Nov 03 '11 01:11

competent_tech


People also ask

How do I ignore a .cache file in Git?

If you want to ignore a file that you've committed in the past, you'll need to delete the file from your repository and then add a .gitignore rule for it. Using the --cached option with git rm means that the file will be deleted from your repository, but will remain in your working directory as an ignored file.

How do I ignore files in Visual Studio?

Visual Studio automatically creates a . gitignore file for the Visual Studio development environment when you create a new Git repo. In the Git Changes window, right-click any changed file that you want Git to ignore and choose Ignore this local item or Ignore this extension.


1 Answers

There's a .gitignore file used on the Xamarin MonoTouch Samples which would be a good set to use - https://github.com/xamarin/monotouch-samples/blob/master/.gitignore

Mostly it's .pidb, .userprefs and bin and obj folders.

You will need .plist files as these a just property lists and used to set information about your application and settings for your application.

I hope this helps,

ChrisNTR

like image 135
chrisntr Avatar answered Jan 03 '23 13:01

chrisntr