Use git ls-files
:
$ cd lib
$ git ls-files --full-name test.c
lib/test.c
This only works for files that have been committed into the repo, but it’s better than nothing.
Use git ls-files
:
$ cd lib
$ git ls-files --full-name test.c
lib/test.c
This only works for files that have been committed into the repo, but it’s better than nothing.