Is there any way when I am adding new files to my project to make them be picked up by
git add -i
If I make changes to an existing file, then that is ok. But creating a new file it is marked as untracked and git add -i
does not pick it up.
Is there any way when I am adding new files to my project to make them be picked up by
git add -i
If I make changes to an existing file, then that is ok. But creating a new file it is marked as untracked and git add -i
does not pick it up.
When you are in the interactive session of "git add -i" you can use the option number 4 to add untracked files
Sometimes git add .
and git add -i
does not stage all changes whether tracked or untracked. You could try using git gui
to choose which files to stage if you have it installed.