Don’t Know much about working with git.
I wonder if I have a file and made there a modifications lets say:
- I modified lines 10-20 for adding feature ONE. But didn’t (forget to) make a commit.
- I modified lines 50-60 for adding feature TWO. An I want to make a commit.
How do I split this changes in to two commits? Is it possible?
This is possible with
git add -pSee
this pagefor a nice tutorial.