How to stage hunks or do patches with the but CLI?
#12308
-
|
There are plenty of examples in both videos and the docs on staging files using the CLI, but none that show how to stage hunks. The The So I don't know how to achieve this. Moreover, is it possible to do something similar to Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Thanks a lot for bringing this up. This probably is a shortcoming in our docs and we might want to highlight this more. Does this section help? It mentions |
Beta Was this translation helpful? Give feedback.
-
|
Sorry for the late answer. Yes, this clears it up! I found that you could achieve what I was trying to do with |
Beta Was this translation helpful? Give feedback.
Thanks a lot for bringing this up. This probably is a shortcoming in our docs and we might want to highlight this more.
Does this section help? It mentions
but status -fandbut diffto get hunk ids?