git status
modified: src/main/java/common/fileOption/FileOption.java
modified: src/main/java/framework/Main.java
modified: src/main/java/framework/utils/FileUtils.java
I would like to git add one of the above files, is there a quick way to do so without having to type out the entire path?
I am hoping for a mechanism to reference one of them perhaps by number. Say I want to add the last file only, then maybe something like git add --something 3?