[{"data":1,"prerenderedAt":138},["ShallowReactive",2],{"tool-content-en-gitignore-generator":3},{"id":4,"title":5,"body":6,"description":128,"extension":129,"locale":130,"meta":131,"navigation":132,"path":133,"seo":134,"stem":135,"toolId":136,"__hash__":137},"tools\u002Ftools\u002Fen\u002Fgitignore-generator.md",".gitignore Generator",{"type":7,"value":8,"toc":120},"minimark",[9,14,23,27,55,59,70,102,106],[10,11,13],"h2",{"id":12},"what-this-tool-does","What this tool does",[15,16,17,18,22],"p",{},"Build a ",[19,20,21],"code",{},".gitignore"," without memorising patterns. Tick the templates that match your project — a language, a framework, your editor, your operating system — and the file is assembled on the right as you go. Everything runs in your browser, and nothing is uploaded.",[10,24,26],{"id":25},"templates","Templates",[15,28,29,30,33,34,37,38,41,42,45,46,49,50,54],{},"Templates are grouped into languages, frameworks, editors and IDEs, tools, operating systems, and common files. The search box matches a template's name and keywords, so ",[19,31,32],{},"node",", ",[19,35,36],{},"dotenv",", or ",[19,39,40],{},"xcode"," all jump straight to the right entry; keywords include Chinese terms such as ",[19,43,44],{},"前端"," or ",[19,47,48],{},"压缩包",", so those work too. Template names stay in English because they are proper nouns. Each category has an ",[51,52,53],"strong",{},"All \u002F None"," button to select or clear it in one click.",[10,56,58],{"id":57},"merging","Merging",[15,60,61,62,65,66,69],{},"Selected templates are merged in a stable order, one commented section each, and every section is kept complete, so each template you pick is fully represented. Extra patterns can be typed into ",[51,63,64],{},"Custom rules",", one per line; they are appended under a ",[19,67,68],{},"# Custom"," section and any line a template already provided is skipped.",[15,71,72,73,76,77,80,81,33,84,76,87,90,91,76,94,97,98,101],{},"A few templates are broad on purpose: ",[51,74,75],{},"Certificates & keys"," ignores ",[19,78,79],{},"*.key"," and ",[19,82,83],{},"*.pem",[51,85,86],{},"Archives",[19,88,89],{},"*.zip",", and ",[51,92,93],{},"Terraform",[19,95,96],{},"*.tfvars",". If your project tracks those files, uncheck the template or add a negation such as ",[19,99,100],{},"!important.pem"," in the custom rules.",[10,103,105],{"id":104},"copying-and-saving","Copying and saving",[15,107,108,109,112,113,116,117,119],{},"Use ",[51,110,111],{},"Copy"," to put the result on the clipboard, or ",[51,114,115],{},"Download"," to save it as ",[19,118,21],{},". The line count shows how large the file has become. Your selection and custom rules are remembered on this device when tool memory is enabled.",{"title":121,"searchDepth":122,"depth":122,"links":123},"",2,[124,125,126,127],{"id":12,"depth":122,"text":13},{"id":25,"depth":122,"text":26},{"id":57,"depth":122,"text":58},{"id":104,"depth":122,"text":105},"Generate a .gitignore by picking templates for languages, frameworks, editors, tools, and operating systems, then copy the merged result.","md","en",{},true,"\u002Ftools\u002Fen\u002Fgitignore-generator",{"title":5,"description":128},"tools\u002Fen\u002Fgitignore-generator","gitignore-generator","ZN9GZvrF_ijZfD9pu8fYsyXz6JUQZkwSWBJQtoLaR5A",1792391417738]