How can I run “git status” and just get the filenames

后端 未结 9 1564
遥遥无期
遥遥无期 2020-12-04 14:23

as opposed to the long relative path?

9条回答
  •  庸人自扰
    2020-12-04 14:55

    git status will always walk down (edit and up) the tree and display relative paths. If you only want the file in the directory you are in, See this related answer

提交回复
热议问题