課題
.gitignore
ファイルに追記したいが、その追記を無視させたい時がある。
オリジナルの.gitignore
ファイルを作成したい時の対処法がGithub Helpに書いてあったのでご紹介。
解決方法
.git/info/exclude
に無視したいファイルを追記すればOK。
ここに追記したファイルは無視される一方、.git/info/exclude
への追記も無視される。
More than 5 years have passed since last update.
.gitignore
ファイルに追記したいが、その追記を無視させたい時がある。
オリジナルの.gitignore
ファイルを作成したい時の対処法がGithub Helpに書いてあったのでご紹介。
.git/info/exclude
に無視したいファイルを追記すればOK。
ここに追記したファイルは無視される一方、.git/info/exclude
への追記も無視される。
Register as a new user and use Qiita more conveniently