How to Use Git Worktree? And How It's used by AI Agents?

Git Worktree Why would you want to use it? To be able to checkout multiple branches at the same time without having to clone your repo. Currently if you run git worktree list you’d see that you only have one git-worktree. e.g. I get the following /Users/mfaani/Developer/project-iOS 0960933f [main] The commit and branch name show the current HEAD; if you were on another branch, the worktree would show that branch instead....

When to Use AGENTS.override.md?

How is AGENTS.override.md different from AGENTS.md? Why not just edit the current AGENTS.md file instead? Override is usually for temporary or unique cases. Examples: Temporarily testing different agent behavior Override an inherited team file without deleting it. Could be for a developer-specific environment or local workflow. When certain files of a group of files require different instructions. So you create a new directory and add an override to be more explicit....

xcodebuild for AI

I’m running into some issues with the project setup Claude came up for me and I’m triaging it now. It’s using xcodebuild which prompted me to write this post. Prerequisite Highly recommend to acquaint yourself with the following definitions: Project Target Scheme Action Destination Product For that see my stackoverflow answer to: Xcode: What is a target and scheme in plain language? What is xcodebuild? It’s command line tool made by Apple....

How the mental cost of AI can be reduced over time and type of usage?

People vs 0s and 1s Despite being a fervent user of AI tools, I long struggled to figure out where AI hurts software engineers and where it helps. While I enjoy working from home and not having to commute, I also enjoy going to the office, seeing people, having lunch with them. Talking about sports, work, the future. Talk about myself. Get to know them and their family. Their culture, roots....