Skip to content

Instantly share code, notes, and snippets.

@egeneralov
Last active October 8, 2020 19:08
Show Gist options
  • Select an option

  • Save egeneralov/3579b934436eaeda436a2122993554c4 to your computer and use it in GitHub Desktop.

Select an option

Save egeneralov/3579b934436eaeda436a2122993554c4 to your computer and use it in GitHub Desktop.
для дебага непредсказуемого софта
cd /
cat << EOF > .gitignore
dev/
proc/
sys/
tmp/
run/
mnt/
media/
lost+found
var/cache
var/log
var/backups
var/lib/logrotate/status
var/lib/apt/lists
usr/share/man
EOF
git init
git add .
git commit -m 'initial'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment