2
考慮到HEAD
引用了我當前的分支(這不是必需的master
),我將如何列出給定目錄的所有版本化文件(沒有完整的遞歸內容)?如何在給定的分支中使用git列出給定目錄的文件?
我曾嘗試:
我就與git log
發揮(如「git -> show list of files changed in recent commits in a specific directory」,或「How can I search Git branches for a file or directory?」),但不知何故,它總是給我太多的細節。
我只需要一個目錄下的版本化文件的列表。