Skip to content

Instantly share code, notes, and snippets.

@romuloceccon
Last active February 6, 2023 15:50
Show Gist options
  • Save romuloceccon/659d34808d4b830a49be to your computer and use it in GitHub Desktop.
Save romuloceccon/659d34808d4b830a49be to your computer and use it in GitHub Desktop.
A .gitignore file for tracking the /etc directory with git
*~
*-old
*.cache
*.dpkg-dist
*.dpkg-bak
/*-
/*.org
/adjtime
/.pwd.lock
/mtab
/nologin
/cups/subscriptions.conf*
/ssl/certs/*
/apt/*.save
/apt/*.distUpgrade
/apt/apt.conf.d/01autoremove-kernels
/apt/sources.list.d/*.save
/apt/sources.list.d/*.distUpgrade
/init.d/.depend.*
/apparmor.d/cache
/alternatives
/aliases.db
/rc?.d
@khokm
Copy link

khokm commented Nov 11, 2020

what about ssh folder?

@danielgran
Copy link

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment