OpenFOAM
OpenFOAM, temiz bir depoyu korumak için OpenFOAM projelerine özgü yapı eserlerini, bağımlılıkları ve geçici dosyaları hariç tutabilir. Bir .gitignore
dosyası, Git sürüm kontrol sistemlerinde Git'in göz ardı etmesi gereken kasıtlı olarak izlenmeyen dosyaları belirtmek için kullanılır. Bu, özellikle derlenmiş ikili dosyalar, günlük dosyaları, geçici dosyalar veya IDE'ye özgü dosyalar gibi depoya ait olmayan dosya ve dizinlerin sürüm kontrolü tarafından izlenmesini engellemek için kullanışlıdır.
Örnek OpenFOAM Dosyası
OpenFOAM.gitignore dosyası, projenizde belirli dosyaları yoksaymanıza izin verir. Kurulum için mutlaka yazıya göz atın.
# Timestep directories
0.*
[1-9]*
# Fields that must get ignored
*/phi*
*/meshPhi*
# Decomposed domain
processor*
# logfiles
log.*
*log
# paraview/ParaFoam
*.foam
*.OpenFOAM
*.pvsm
# mesh data that is no dictionary
constant/polyMesh/points*
constant/polyMesh/faces*
constant/polyMesh/owner*
constant/polyMesh/neighbour*
constant/polyMesh/boundary*
constant/polyMesh/sets
constant/polyMesh/*
# Zones and levels
*Level*
*Zone*
# snappyHexMesh files that are not snappyHexMeshDict
constant/polyMesh/refinementHistory*
constant/polyMesh/surfaceIndex*
constant/triSurface
# function object and post-processing data
forces
postProcessing
# Needed when C++ code is built using the OpenFOAM library, since it does not
# use a "normal" build tool (make, cmake, ..).
lnInclude
*.dep
linux*
Darwin*
#exclude important folders and files:
!0/
!constant/thermophysicalProperties
!constant/turbulenceProperties
!system/
!.gitignore