Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mjsir911
on Feb 7, 2023
|
parent
|
context
|
favorite
| on:
Make Atomic Git Commits
I tend to use `git add -p` for exactly this purpose ;-)
hoseja
on Feb 7, 2023
|
next
[–]
I really hate how there's a smallest possible chunk you can't split any further/do line-by-line commits without a lot of hassle.
fwlr
on Feb 7, 2023
|
prev
[–]
Holy hell
I had no idea git had that feature, that’s amazing. You’ve significantly improved my workflow
pabs3
on Feb 8, 2023
|
parent
[–]
Even better is `git gui`, it lets you stage individual line changes.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: