Quoting David Crawshaw

📰 Simon Willison's Blog

Learn to automate nightly updates of your codebase by setting up a cron job to fetch upstream changes and rebase local changes

intermediate Published 3 Aug 2026
Action Steps
  1. Set up a nightly cron job using crontab -e
  2. Configure the cron job to execute a script that fetches upstream changes using git fetch
  3. Rebase all local changes on top of upstream using git rebase
  4. Test the software to ensure it works as intended
  5. Replace the current version with the updated one if tests pass
Who Needs to Know This

Developers and DevOps engineers can benefit from automating updates to ensure their codebase is always up-to-date and functional

Key Insight

💡 Automating updates can save time and reduce errors

Share This
Automate your codebase updates with a nightly cron job!

Full Article

Set up a nightly cron job that executes the prompt: fetch upstream changes to the and rebase all local changes on top of upstream. Check that the software works as intended and replace the current version. &mdash; David Crawshaw , Devtools must be open source Tags: <a href="https://simonwillison.net/
Read full article → ← Back to Reads

Related Videos

Kubernetes: Requests, Limits, and OOM Kills!
Kubernetes: Requests, Limits, and OOM Kills!
KodeKloud
How To Upgrade Kubernetes Without Downtime 🔧
How To Upgrade Kubernetes Without Downtime 🔧
KodeKloud
How to Point Domain to cPanel Hosting Using Nameservers | Hostinger DNS Setup (2026)
How to Point Domain to cPanel Hosting Using Nameservers | Hostinger DNS Setup (2026)
Zia Tech Digital
How to Code with Distrobox on the Steam Deck
How to Code with Distrobox on the Steam Deck
Ian Wootten
Can You Code on a Steam Deck?
Can You Code on a Steam Deck?
Ian Wootten
AWS, Azure, GCP: The One Thing Every Business Gets Wrong
AWS, Azure, GCP: The One Thing Every Business Gets Wrong
AI Daily