Increase the number of files git can track

Created: June 01, 2019 13:17 | Updated: June 01, 2019 13:17

Have you worked on such a large project that git refuses to track them all?

Try increasing your max system watches!

(You probably shouldn't use this if you are close to your maximum on ram)

sudo sh -c "echo 'fs.inotify.max_user_watches=524288' >> /etc/sysctl.conf"
sudo sysctl -p

Written by Alan Vardy. Let me know how I can make this better!