r/programming • u/[deleted] • Nov 20 '10
GitHub has created gitignore which aims to showcase best practices for excluding files from git
https://github.com/github/gitignore2
3
u/schoscho Nov 20 '10
i miss the drupal one.
9
u/rebo Nov 20 '10
Stop being lazy then , write one and do a pull request.
5
u/schoscho Nov 20 '10
as i am new to git - i'll give it a shot :)
4
u/frogking Nov 20 '10
it will be a learning experience and you will feel good about adding to a popular repository ;-)
2
u/gtani7 Nov 20 '10
3
u/wynyx Nov 20 '10
Wow, that is exactly the same thing as this submission. Too bad gitignore.com breaks the snippets into multiple pages (pretty annoying).
2
u/masklinn Nov 20 '10
Too bad gitignore.com breaks the snippets into multiple pages (pretty annoying).
It's far less complete than TFA as well. Which is kinda sad, since it has a searchbox.
1
u/Beefington Nov 20 '10
What's the best way to merge two or more of these gitignores into a single file? Can you specify multiple core.excludesfiles? Is there some import syntax for gitignore? (if so, whoa)
1
u/Gtoast Nov 20 '10
Seriously. I guess they expect you to keep your local gitignore repository up to date and then concat the ones you want together into your own personal .gitignore file.
I'm also having trouble groking which .gitignores you wouldn't want implemented globally.
1
u/frogking Nov 20 '10
This must be the repository, that have grown fastest in popularity, ever!
The Impact Graph is impressive! So many contributions!
1
0
Nov 20 '10
[deleted]
6
u/masklinn Nov 20 '10
Although the title makes it sound (to me) as if GitHub invented gitignore…
Well they have created the gitignore project which is a library of .gitignore snippets.
0
0
Nov 20 '10
[deleted]
1
Nov 20 '10
You have programming in your personal list of subreddits. It's going to show you a random assortment of all your subreddits no matter if they have only 2 upvotes.
-10
u/omgwolf Nov 20 '10
notice how OP has 2,443 link karma
10
u/masklinn Nov 20 '10
link karma has no influence on how fast your links reach the front page. The only thing that does are votes: 65 people found the link interesting enough to upvote it and want others to see it, 25 thought it sucked and downvoted it. That's it.
0
16
u/darkclark Nov 20 '10
Good link, though I'm not sure I'd categorize it as 'best practices showcase' so much as a collection useful defaults for various contexts.