[MonoDevelop] Autogeneration of .gitignore for MD projects

Matt Enright awickedshimmy at gmail.com
Sun Apr 26 14:25:30 EDT 2009


*blech, forgot reply-all, apologies*

Hey Andy,

I can't speak for everybody, but if e.g a project is managed with
Subversion, adding another file, even if its hidden, could be an
annoyance.

Since there's a GSoC project which involves a VersionControl addin for
git to integrate with MD, I think that its a very feasible goal for that
to automatically generate a .gitignore file (if one doesn't exist under
source control already) for repos that you are managing with git
anyways.

Hope that would be a valid solution for your needs.
Cheers,
Matt 

On Sun, 2009-04-26 at 22:26 +0530, Andy wrote:
> Hi,
> 
> I use git to track two MD projects. If you have used git, you probably
> know that to stage changes into a commit, you have to add them - each
> time you make a commit. You can either add all the files that have
> changed or add them individually. Most people do "git add ." which
> does the former. This causes all new/changed files from build files,
> user preferences, etc, etc to be changed. This is different from
> svn/cvs where only files specifically added are tracked perpetually.
> 
> The only way around this is to write a ".gitignore" file which
> contains specific rules to ignore specific files - usually build files
> and files that are seperate for each user and don't need to be
> tracked.
> 
> My suggestion is that MD should create a .gitignore file by default
> containing a list of rules which should make it less error-prone for
> the user. This may include the userprefs file, the output paths, and
> any others I haven't encountered yet. You can mention this is
> autogenerated. I feel that it won't really affect people who don't or
> will never use git to track their MD projects, but since it will be
> hidden, it definitely will not hurt.
> 
> Thanks,
> Andy
> 
> -- 
> Anirudh Sanjeev
> Fourth Year Undergrad, Indian Institute of Technology Kharagpur
> http://anirudhsanjeev.org
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090426/45124c16/attachment.bin 


More information about the Monodevelop-list mailing list