I use ctrl+k and select untracked files, and then ctrl+shift+k to push them in Android Studio for windows.
Say suppose I have uncommitted changes, then I issue following commands to add files to my repository:
<span>$git add </span><span>*</span> <span><</span><span>enter</span><span>-</span><span>key</span><span>></span>
Then I issue the following command to commit my changes:
<span>$git commit </span><span>-</span><span>a </span><span><</span><span>enter</span><span>-</span><span>key</span><span>></span>
VI editor is opened and to switch to edit mode I type:
<span>:</span><span>i </span><span><</span><span>enter</span><span>-</span><span>key</span><span>></span>
I type the description of my commit, press enter, then press escape and then type:
<span>:</span><span>wq </span><span><</span><span>enter</span><span>-</span><span>key</span><span>></span>
This commits my changes locally.
Then I use the following command to push my changes to repository:
<span>$git push </span><span><</span><span>enter</span><span>-</span><span>key</span><span>></span>
My question is when I do my commit changes, some-times I get some newly added files in red color:
<span>$git status </span><span><</span><span>enter</span><span>-</span><span>key</span><span>></span>
That means I still have some files remaining to be committed.
How to add these files in bulk, I mean using single command rather than using add command separately for each file?