Increase the number of files git can track


Alan Vardy
 git  linux

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

Try increasing your max system watches!

This solution consumes more ram, so do more investigation before implementing if you are running in a low ram environment.

sudo sh -c "echo 'fs.inotify.max_user_watches=524288' >> /etc/sysctl.conf"
sudo sysctl -p
Like what you see?

Related Posts