Git ignore file for C projects

后端 未结 3 1930
余生分开走
余生分开走 2020-12-16 12:24

I\'ve just started to learn C (using Thinking In C) and I\'m wondering about what files I should be ignoring in a C project\'s git repository.

No suggestion can be

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-16 12:53

    You can also setup your build to happen in a subdirectory say build and then you can ignore the whole thing inside .gitignore

    build/

    And you're done.

提交回复
热议问题