git status
gives a list of modified files :
modified : app/controllers/AppController.controller.php
modified : app/controllers/Front.controller.php
modified : app/models/Booking.model.php
modified : app/models/Price.model.php
modified : app/views/AdminBookings/update.php
modified : app/views/Layouts/elements/leftmenu.php
...
I find it inconvenient to "type" (whatever the way) the file path every time I have to add, checkout or log a file.
Is there any way to associate an ID to these files so I can individually manage them faster ? Like so :
[0] modified : app/controllers/AppController.controller.php
[1] modified : app/controllers/Front.controller.php
[2] modified : app/models/Booking.model.php
[3] modified : app/models/Price.model.php
[4] modified : app/views/AdminBookings/update.php
[5] modified : app/views/Layouts/elements/leftmenu.php
...
$ git add --id 3