Hi,
i've modified several files in a folder and subfolders. I could add the top folder recursively but then i have several subfolders that are untracked, so every time i do the recursive add to stage changes, i have to untrack the subfolders with git rm -r --cached
. Is there a better way to just stage the modifications that show up in git status, without tracking already explicitly untracked files?
meta-question: is really a good idea that 'git add
' means two (or more) things? in this context, if the command to track files (git add
) were not the same used for stage modifications (git add
) then i would not have this problem in the first place