I use phpstorm as my IDE, it has built-in git version control integration, so I never had to use the command line.
However, I ran into a problem several times when I was asked "Do you want to add this file / directory to the git version control" I did not click "No", so I have several folders and files all over the place that is not under control.
I am wondering if there is a command that I can run that will add all these files to the version control for me?
Get at the command line and change the working directory to the git repository.
$ cd /home/wesley/dev/mytwitterbook
$ git add .
, , , .gitignore 'd, .
.gitignore
NB: git add . , . , . , :
git add .
$ git stash # set aside any changes in VC'd files $ git add . $ git stash pop # restore stashed changes
PhpStorm , Unversioned files node, node , . commit/push .