If I run
$ git status | grep modified:
I got
modified: config/express.js
modified: package.json
modified: routes/index.js
What do I need to run to get just the name ( NOT the entire path) of the files that I modified ?
Ex.
express.js
package.json
index.js
This is NOT a dupe of is it possible to
git status
only modified files?
I am looking for the file name only ---- NOT the file path + file name .