Skip to content

Commit

Permalink
chore: Add gitattributes for binary files
Browse files Browse the repository at this point in the history
This commit adds the .gitattributes file to specify that certain file types should be treated as binary files. Specifically, it includes patterns for Python data files (*.npy), Matlab data files (*.mat), compiled Python files (*.pyc), and GMSH mesh files (*.msh). This helps ensure that these files are not modified or corrupted when being tracked by Git.
  • Loading branch information
hqwang815 committed May 16, 2024
1 parent e53c48d commit 983533a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@

# Python data files
*.npy binary

# Matlab data files
*.mat binary

# Compiled Python files
*.pyc binary

# msh files of GMSH
*.msh binary

0 comments on commit 983533a

Please sign in to comment.