Ayush Poddar's Wiki

      • Business
      • Financial philosophies and lessons
      • Investments and Personal Finance
      • Taxation
      • Documentation on some tools
      • Events, anecdotes and facts
      • Life Philosophies
      • Politics, governance and legals
      • Productivity
      • Climate change
      • High level designs - Software Systems
      • Industrial production
      • Software engineering

    Ignore files in Git without changing gitignore

    Dec 16, 20241 min read

    shorts

    Ignoring untracked files

    • Edit the file .git/info/exclude like you would edit .gitignore
    • This file is your own “gitignore” inside the local git folder. It is never checked in to Git.

    Sources

    • https://luisdalmolin.dev/blog/ignoring-files-in-git-without-gitignore/

    Related Notes


    Graph View

    • Ignoring untracked files
    • Sources
    • Related Notes

    Backlinks

    • Software engineering
    • Asking Git to ignore changes made to a tracked file

    Created with Quartz v4.4.0 © 2024

    • GitHub
    • Discord Community