I have a repo which I use for personal notes. I use the same repo across multiple machines and multiple OSes. The sync happens using git. Each machine has a 5-minute cron job that both pushes and pulls from the (same) repo - that keeps it consistent across all the machines.
I have accumulated thousands of commits over time and I don't really need commits from over a month ago (I have more than a year worth of updates). So I need to squash say first 1000 commits into one without having to change my entire setup by recreating the entire repository and setting up everything again!
What can I do to squash the first 1000 commits into one thus making the repo size smaller?