.gitignore priekš Godot
11 ignorē Godot noteikumus, kas ir gatavi kopēšanai jūsu repozitorijā.
Atvērtā koda spēļu dzinējs
Pilnīgs .gitignore priekš Godot
# Ģenerē LFGitignore - https://lfgitignore.com
# Izveidots: 2026-10-31 21:53:42 UTC
# Tehnoloģijas: Godot
### Godot ###
.godot/
~*.dll
.nomedia
.import/
export.cfg
export_credentials.cfg
*.translation
# Pagaidu faili
*.tmp
.mono/
data_*/
mono_crash.*.json
Ko šie Godot noteikumi faktiski ignorē
Katrs turpmāk minētais raksts un skaidrojums, kāpēc tas jāiekļauj .gitignore failā.
Godot 4+ specifiski ignorē
| Raksts | Ko tas ignorē |
|---|---|
.godot/ |
Godot 4+ specifiski ignorē |
.nomedia |
Godot 4+ specifiski ignorē |
Godot 4.2+ ir ignorēti
| Raksts | Ko tas ignorē |
|---|---|
~*.dll |
Godot 4.2+ ir ignorēti |
Godot specifiskās ignorēšanas
| Raksts | Ko tas ignorē |
|---|---|
.import/ |
Godot specifiskās ignorēšanas |
export.cfg |
Godot specifiskās ignorēšanas |
export_credentials.cfg |
Godot specifiskās ignorēšanas |
*.tmp |
Pagaidu faili |
Importētie tulkojumi (automātiski ģenerēti no CSV failiem)
| Raksts | Ko tas ignorē |
|---|---|
*.translation |
Importētie tulkojumi (automātiski ģenerēti no CSV failiem) |
Mono-specifiski ignorē
| Raksts | Ko tas ignorē |
|---|---|
.mono/ |
Mono-specifiski ignorē |
data_*/ |
Mono-specifiski ignorē |
mono_crash.*.json |
Mono-specifiski ignorē |
Kā lietot šo .gitignore failu tehnoloģijai Godot
- Kopējiet iepriekš minētos Godot noteikumus vai lejupielādējiet failu tieši.
- Git repozitorija saknē izveidojiet failu ar nosaukumu .gitignore un ielīmējiet tajā noteikumus.
- Ja daži no šiem failiem jau ir izsekoti, palaidiet git rm -r --cached . un pēc tam veiciet vēlreiz — Git ignorēšanas noteikumus piemēro tikai neizsekotajiem failiem.
- Iekļaujiet .gitignore failu komitā, lai visai komandai būtu vienādi noteikumi.