How to Add Linux Executable Files to .gitignore?

前端 未结 6 834
小蘑菇
小蘑菇 2020-12-13 01:48

How do you add linux executable files to .gitignore without giving them an explicit extension and without placing them in a specific or /bin directory? Most are named the sa

6条回答
  •  有刺的猬
    2020-12-13 02:47

    Most developers usually have a build directory in their project where the actual build process in run. So, all executables, .o, .so, .a, etc. are there and this build directory is added into the .gitignore.

提交回复
热议问题