79192766

Date: 2024-11-15 14:26:54
Score: 2
Natty:
Report link

In Git, if you want to get the location of a file within the repository

  1. git ls-tree git ls-tree -r HEAD --name-only -r recursively lists all files. HEAD is the current branch/commit. --name-only shows only the file paths. --name-only shows only the file paths.

  2. git show --name-only HEAD

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abhi Changela