Most AI projects fail. Yours doesn’t have to.
Reserve your spot today and get a production-ready Agent Blueprint in just 3 weeks
6
spots‍
‍available
Register for Your Agent Blueprint
About
Capabilities
Custom AgentsReliable RAGCustom Software DevelopmentEval Driven DevelopmentObservability
LangChainCase StudiesFocused Lab
Talk to a builder
Blog

TIL: the Git -p Flag!

The git -p flag enables interactive patch mode, letting you selectively stage, checkout, or commit specific hunks of changes. Once you learn it, you'll want to use it everywhere.

Jan 15, 2021

By
Austin Vance
Share:
Two developers collaborating at a desk with multiple monitors showing code

Today I learned about the -p flag in git and now I want to use it everywhere!

According to the man page:

$ man git-add

...
-p, --patch
Use the interactive patch selection interface to chose which changes to commit. See git-add(1) for details
...

You can use the -p flag with checkout, add, commit

Git Patch!!!!!
How cool

Your message has been sent!

We’ll be in touch soon. In the mean time check out our case studies.

See all projects
/Contact Us

Let's Build better Agents Together

Modernize your legacy with Focused

Get in touch
ABOUTLeadershipCapabilities
433 W Van Buren St
Suite 1100-C

Chicago, IL 60607

WorkFocused LabOur Process
work@focusedlabs.io

(708) 303-8088
PartnershipsCareersContact
FacebookLinkedinX
433 W Van Buren St
Suite 1100-C

Chicago, IL 60607

work@focusedlabs.io

(708) 303-8088
See partnership
© 2026 Focused. All rights reserved.
Privacy Policy