1
0
mirror of https://github.com/github/gitignore synced 2025-02-20 17:39:09 +01:00
James Manning a3c3c1ff4c fix Generated_Code entry in CSharp.gitignore
The existing entry for Generated_Code (with a space and then a comment afterwards) wasn't working for me (at least with msysgit version 1.7.11.msysgit.1).

Once I put the comment on a separate line and removed the trailing space after 'Generated_Code', it worked fine.

The gitignore(5) man page says a line starting with # is treated as a comment, but doesn't mention what # does if it's elsewhere in the line, so based on the previous behavior and trying a line of "Generated_Code#foo", it appears that the # and the rest of the line isn't ignored, so we need to move the comment to its own line that starts with #

http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
2012-11-08 11:39:26 -05:00
2012-04-20 10:12:43 +02:00
2011-02-21 18:02:55 -08:00
2010-11-22 17:42:32 -08:00
2012-03-08 20:45:16 +09:00
2012-07-15 18:53:32 +02:00
2011-08-17 00:55:26 -05:00
2011-02-01 06:03:02 +08:00
2010-11-10 03:43:58 +08:00
2012-01-12 16:37:34 -02:00
2011-02-21 17:56:28 -08:00
2011-08-02 21:36:51 +01:00
2011-05-01 18:11:31 +01:00
2010-11-09 04:49:58 +08:00
2010-11-09 04:49:25 +08:00
2012-10-11 16:59:14 -07:00
2012-03-16 18:49:26 -03:00
2010-11-09 16:08:50 +08:00
2011-05-29 21:24:34 -04:00
2010-11-23 09:36:53 +08:00
2012-03-03 02:08:17 +01:00
2012-08-01 10:56:28 +03:00
2012-06-09 16:36:58 +03:00
2011-10-08 09:23:47 +02:00
2012-07-31 11:57:21 +08:00
2011-02-21 18:03:04 -08:00
2012-03-24 23:22:27 +11:00
2010-11-22 17:54:05 -08:00
2011-02-21 18:08:03 -08:00

A Collection of Useful .gitignore Templates

That's what we're trying to build. Please contribute by forking and sending a pull request.

Also please only modify one file per commit. This'll make merging easier for everyone.

Global gitignores (OS-specific, editor-specific) should go into the Global/ directory.

For more information on gitignore: gitignore(5)

Pull Requests

Since this repo includes a large and diverse number of programming languages, frameworks, editors, and ecosystems, it's very helpful if you can provide a link to information supporting your pull request. Up-to-date, canonical documentation that mentions the files to be ignored is best.

This ensures we can efficiently go through pull requests and keep quality high.

Global Ignores

git has a global configuration that applies rules to all of your projects. For example:

git config --global core.excludesfile ~/.global_ignore

... will apply the rules in ~/.global_ignore for all of your repos.

This is useful if you use an editor (like Emacs) that drops backup files, or if you work in an environment that generates binary or intermediate files that are always ignored.

Description
No description provided
Readme 14 MiB
Languages
Markdown 100%