Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
gitの現在のディレクトリにあるファイルを見たいです。たとえば、Linuxのdirコマンドは、現在のディレクトリにあるファイルを表示します。gitにそのようなコマンドはありますか?ありがとう
git ls-filesgit に含まれるすべてのファイルを表示するために使用できます。現在のディレクトリのみの場合は、ls.
git ls-files
ls