I often parse the file, deciding what I will become, and then have to run git add /long/path/to/fileto manually specify the file.
A regular workflow will go line by line:
git status
"oooh changes"
git diff /long/path/to/changed/file
"Yes, I remember that - the time of fixation!"
git add /long/path/to/changed/file
Obviously, this is not the most difficult thing in the world, it is just a little tiring. I know that I can also go into interactive mode, but this really did not correspond to my work flow.
So, I'm looking for some kind of magic unix or git command, where I can say: "Hey, this file I just skipped - put it please!".
Is there something similar in git or bash? Or is this what I need to build in a bash script?