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 に Android プロジェクトがあります。すべての変更をコミットしたいのですが、bin フォルダーはコミットしたくありません。bin フォルダー以外のすべてをコミットするコマンドはありますか?
bin を .gitignore ファイルに追加します。
.gitignore次のように bin フォルダーをファイルに追加できます。
.gitignore
bin/
bin フォルダーを gitignore に追加したにもかかわらず、既に追跡されている場合は、次のことができます。
git rm -r --cached bin/
binフォルダーを追加するだけです.gitignore