I use phpstorm as my IDE, it has git version control integration built in so I have never needed to use the command line.
However I have run into a problem, a few times when I have been prompted "Do you wish to add this file/directory to git version control" I have clicked no, Hence I have some folders and files all over the place that are not under the control.
I am wondering if there is a command I can run that will add all these files to the version control for me?
In PhpStorm you can open the Changes panel and in the Local tab you will see all the Unversioned files under the separate node. You can right click on this node or select individual files and then add them to version control at once. Then perform commit/push when ready.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With