Skip to content
Browse files

add: Basic Git Attribute and Ignore File Setup

  • Loading branch information...
1 parent 1e70003 commit 7389f4b15ce7097cb6d2424552302b767536cdf5 @BenBE BenBE committed
Showing with 52 additions and 24 deletions.
  1. +21 −0 .gitattributes
  2. +31 −24 .gitignore
View
21 .gitattributes
@@ -0,0 +1,21 @@
+# Set default behaviour, in case users don't have core.autocrlf set.
+* text=auto
+
+# Explicitly declare text files we want to always be normalized and converted
+# to native line endings on checkout.
+*.c text
+*.C text
+*.cc text
+*.cpp text
+*.h text
+*.H text
+*.hpp text
+
+# Declare files that will always have CRLF line endings on checkout.
+*.sln text eol=crlf
+*.vcproj text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.gif binary
+*.png binary
+*.jpg binary
View
55 .gitignore
@@ -1,24 +1,31 @@
-# Compiled Object files
-*.slo
-*.lo
-*.o
-
-# Compiled Dynamic libraries
-*.so
-
-# Compiled Static libraries
-src/muVM.sdf
-*.user
-*.suo
-*.lai
-*.la
-*.a
-*.sdf
-*.dll
-*.exe
-*.lib
-*.obj
-bin/*
-obj/*
-*.opensdf
-src/ipch/*
+# Compiled Object files
+*.lo
+*.o
+*.obj
+*.slo
+
+# Compiled Dynamic libraries
+*.dll
+*.so
+
+# Compiled Static libraries
+*.lib
+*.lai
+*.la
+*.a
+
+# Visual Studio files
+*.sdf
+*.user
+*.suo
+*.opensdf
+
+# Dynamic Dependency files
+
+# Comiled binaries
+*.exe
+
+# Generic Binary and temporary files
+bin/*
+obj/*
+src/ipch/*

0 comments on commit 7389f4b

Please sign in to comment.
Something went wrong with that request. Please try again.