Ludovic Frank Gitignore

.gitignore CodeIgniter jaoks

15 tehnoloogia CodeIgniter eiramisreeglit, mida saad oma hoidlasse kopeerida.

PHP veebiraamistik

Täielik .gitignore CodeIgniter jaoks

# Genereeritud LFGitignore - https://lfgitignore.com
# Loodud: 2026-10-31 21:49:46 UTC
# Tehnoloogiad: CodeIgniter

### CodeIgniter ###
*/config/development
*/logs/log-*.php
!*/logs/index.html
*/cache/*
!system/cache/*
!*/cache/index.html
!*/cache/.htaccess
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*
application/logs/*
!application/logs/index.html
!application/logs/.htaccess
/vendor/

Mida need CodeIgniter reeglid tegelikult ignoreerivad

Iga allolev muster ja selgitus, miks see kuulub sinu .gitignore-faili.

Kindral

Muster Mida see ignoreerib
*/config/development Kindral
*/logs/log-*.php Kindral
!*/logs/index.html Kindral
*/cache/* Kindral
!system/cache/* Kindral
!*/cache/index.html Kindral
!*/cache/.htaccess Kindral
user_guide_src/build/* Kindral
user_guide_src/cilexer/build/* Kindral
user_guide_src/cilexer/dist/* Kindral
user_guide_src/cilexer/pycilexer.egg-info/* Kindral
application/logs/* codeigniter 3
!application/logs/index.html Kindral
!application/logs/.htaccess Kindral
/vendor/ Kindral

Kuidas seda .gitignore kasutada CodeIgniter jaoks

  1. Kopeerige ülaltoodud CodeIgniter reeglid või laadige fail otse alla.
  2. Looge oma Git hoidla juurtes fail nimega .gitignore ja kleepige reeglid sinna.
  3. Kui Git juba jälgib mõnda neist failidest, käivita git rm -r --cached . ja tee uus commit — Git rakendab eiramisreegleid ainult jälgimata failidele.
  4. Lisa .gitignore commit’i, et kogu meeskond kasutaks samu reegleid.

Muud Raamistik .gitignore mallid

Vaadake iga Raamistik malli