LoginSignup
4
1

More than 1 year has passed since last update.

Pythonにおける.gitignoreに追加するべきファイル

Posted at

.gitignoreファイルとは

Gitの管理下から除外するファイル・フォルダを指定するファイルのこと。
commit内容をできるだけ汚さない為に、ローカル環境(自分のPC)だけに
必要なファイルを追加する。

Gitの管理下から除外推奨のファイル・フォルダ例

各言語における除外すべきファイル・フォルダは公式サイトを参照。

Python

  • PyCharmのキャッシュファイル
  • venvの仮想環境フォルダ
  • jupyter notebookのチェックポイントフォルダ

など、うっかりcommitすると怒られるので要注意

4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1