Washing your hair is important whether you keep long hair or not. All the dirt and sweat that accumulates on your scalp blocks the pores. As a result, your scalp gets dry leading to constant itching and accumulation dandruff.
It is even double tragedy when you keep long hair, hence the need to install protective hairstyles that shield your hair from direct sunlight and dust.