Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add all non-controlled files?

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?

like image 258
Hailwood Avatar asked Mar 02 '26 03:03

Hailwood


1 Answers

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.

like image 175
CrazyCoder Avatar answered Mar 04 '26 17:03

CrazyCoder