Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
compay
on Jan 20, 2014
|
parent
|
context
|
favorite
| on:
Git add -p
FYI `git reset -p` works the same way. Sometimes, depending on your work and workflow it can be easier to add everything and then just exclude a few of the changes.
bct
on Jan 20, 2014
[–]
And `git checkout -p` too.
brandonbloom
on Jan 20, 2014
|
parent
[–]
And `git log -p` is great for reviewing recent changes by your co-workers too!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: