gitignore

A collection of useful .gitignore templates (by github)

Gitignore Alternatives

Similar projects and alternatives to gitignore

  1. Visual Studio Code

    Visual Studio Code

  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. node

    1,384 gitignore VS node

    Node.js JavaScript runtime ✨🐢🚀✨

  4. git

    A fork of Git containing Windows-specific patches. (by git-for-windows)

  5. axios

    508 gitignore VS axios

    Promise based HTTP client for the browser and node.js

  6. public-apis

    A collective list of free APIs

  7. dotenv

    257 gitignore VS dotenv

    Loads environment variables from .env for nodejs projects.

  8. desktop

    224 gitignore VS desktop

    Focus on what matters instead of fighting with Git. (by desktop)

  9. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  10. git-lfs

    Git extension for versioning large files

  11. free-programming-books

    :books: Freely available programming books

  12. unix-history-repo

    Continuous Unix commit history from 1970 until today

  13. git-filter-repo

    Quickly rewrite git repository history (filter-branch replacement)

  14. gh-ost

    GitHub's Online Schema-migration Tool for MySQL

  15. Windows11Upgrade

    Windows 11 Upgrade tool that bypasses Microsoft´s requirements

  16. gitignore.io

    Create useful .gitignore files for your project

  17. window.fetch polyfill

    A window.fetch JavaScript polyfill.

  18. hub

    23 gitignore VS hub

    A command-line tool that makes git easier to use with GitHub.

  19. fetch

    10 gitignore VS fetch

    Discontinued wik is use to get information about anything on the shell using Wikipedia. [Moved to: https://github.com/yashsinghcodes/wik] (by yashsinghcodes)

  20. jenkins-script-console-scripts

    A repository of one-off script console scripts for Jenkins.

  21. bfg-repo-cleaner

    Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala

  22. Git

    331 gitignore VS Git

    Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better gitignore alternative or higher similarity.

gitignore discussion

Log in or Post with

gitignore reviews and mentions

Posts with mentions or reviews of gitignore. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-09-05.
  • .gitignore Everything by Default
    7 projects | news.ycombinator.com | 5 Sep 2026
    Due to the way Golang projects are structured I have found this[^1] template gitignire, which uses the whitelist approach, very useful. No need to worry about build artifacts, test coverage, or anything.

    [^1]: https://github.com/github/gitignore/blob/main/community%2FGo...

    1 project | news.ycombinator.com | 5 Sep 2025
  • Gitignore Generator: a small tool that solves a specific problem
    1 project | dev.to | 22 Jul 2026
    GitHub’s Gitignore Templates is the canonical source for many patterns used by generators.
  • 29. Authentication and Security – Handling Credentials & Designing a Secure Login
    2 projects | dev.to | 3 Jul 2026
  • A Collection of .gitignore Templates
    1 project | news.ycombinator.com | 6 May 2026
  • Never Write a .gitignore by Hand Again — Build an Auto-Detecting Generator CLI
    1 project | dev.to | 19 Mar 2026
    Before we write any code, let's talk about the data source. GitHub maintains an open repository of .gitignore templates at github/gitignore, and they expose it through a clean REST API.
  • Git's Magic Files
    1 project | news.ycombinator.com | 22 Feb 2026
    Surely you'll be able to tell who's YOLOing commits without allowing junk into your repo that you'll have to clean up (and it almost certainly be you doing it, not that other person).

    DS_Store files are just annoying, but I've seen whole bin and obj directories, various IDE directories, and all kinds of other stuff committed by people who only know git basics. I've spent way more effort over time cleaning up than I have on adding a comprehensive gitignore file.

    It takes practically no effort to include common exclude patterns and avoid all that. Personally, I just grab a gitignore file from GitHub and make a few tweaks here and there:

    https://github.com/github/gitignore/

  • Create a Site
    1 project | dev.to | 28 Jan 2026
    diff --git a/site/.gitignore b/site/.gitignore index 86c95ef..b1f826c 100644 --- a/site/.gitignore +++ b/site/.gitignore @@ -1,6 +1,3 @@ +# Copied from: https://github.com/github/gitignore/blob/main/community/Golang/Hugo.gitignore +# License: CC0 1.0 Universal + # Generated files by hugo /public/ /resources/_gen/
  • Learn Shell scripting by building a project scaffolding CLI
    2 projects | dev.to | 26 Jan 2026
    #!/bin/bash # Script initialising git repository and creating repository in github. git init gh repo create ${1} --public --source=. --remote=origin # Add .gitignore echo "# If you prefer the allow list template instead of the deny list, see community template: # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore # # Binaries for programs and plugins *.exe *.exe~ *.dll *.so *.dylib *.test # Code coverage profiles and other test artifacts *.out coverage.* *.coverprofile profile.cov # Dependency directories (remove the comment below to include it) # vendor/ # Go workspace file go.work go.work.sum # env file .env # Editor/IDE # .idea/ # .vscode/ # Added by goreleaser init: dist/" > .gitignore git add . git commit -m "chore: initiliase folder structure" git push origin main
  • Organizing Source Code for Scientific Programmers: Let's Start a Conversation
    1 project | dev.to | 22 Dec 2025
    Prevent clutter by ignoring generated files. Language-specific examples can be found at https://github.com/github/gitignore/tree/main.
  • A note from our sponsor - Kargo
    akuity.io | 6 Sep 2026
    Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now. Learn more →

Stats

Basic gitignore repo stats
312
175,599
7.9
2 days ago

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com