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.
に.gitignoreは、ローカルホストでプルする必要があるディレクトリがあります。Github のプロジェクト構造にはこのディレクトリが表示されませんが、検索しようとすると、.gitignoreファイルにこのディレクトリが表示されます。
.gitignore
localhost の Github からプロジェクトを取得しましたが、このディレクトリがありません。そのディレクトリを取得するにはどうすればよいですか?
ありがとう
ディレクトリがリストされている場合、.gitignoregit はそのディレクトリを無視します。つまり、コミットに追加されないため、github にプッシュされず、プルできません。
.gitignoreプロジェクトをビルドするときなど、そのディレクトリ内のファイルは自動的に生成されるため、ほとんどの場合、ディレクトリがリストされます。