Is there a way to add all the hunks to a file matching the regular expression?
I know that I can find this piece with /, but it only finds the first. I want to add all the matches.
Unfortunately, the patch in July 2011 is nowhere to be released.He would introduce the git add --hunks=magic option.
git add --hunks=magic
Now you will need to do the following:
git add
git stash pop
Pretty cumbersome process.