ULAFF / LAFF-On-PfHP

Repository for "LAFF-On Programming for High Performance"
BSD 3-Clause "New" or "Revised" License
39 stars 30 forks source link

Add gitignore to prevent tracking unimportant files #2

Closed scottnm closed 5 years ago

scottnm commented 5 years ago

After compiling the hello world example in week0, I noticed git produced the following output image

these object and executable files probably shouldn't ever be committed to the source tree. Recommend adding a simple .gitignore file at the root of the project which can tell git to ignore certain files

# ignores all object files and executables that may be generated when compiling
*.o
*.x
rvdg commented 5 years ago

Thank you. I am a relative ignoramus when it comes to github. Tend to make a mess of it... Can you check if I did it right?

scottnm commented 5 years ago

Yup it's correct! thanks