I ran the command "git reset", but my unstaged changes were put into folders instead. I get something like the following after running git status:
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: file1
modified: file2
modified: file3
modified: file4
modified: file5
Untracked files:
(use "git add <file>..." to include in what will be committed)
folder1
folder2
folder3
folder4
Each of the folders contains multiple files which I modified, but were for some reason grouped into these folders.
I need to separate these changes into multiple pull requests, so "git commit -a" won't do.
The best solution I see is to "git add -all", copy the "git status", and "git reset" again, but that seems like a lot of effort.
Is there a better solution?