いくつかのファイル以外はすべてignoreする

 image/*
 !image/default.png
 !image/.htaccess
  • default.pngと.htaccess以外のファイルはすべてignoreする

参考

https://stackoverflow.com/questions/987142/make-gitignore-ignore-everything-except-a-few-files


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2020-05-24 (日) 12:51:24