gitignore binary files that have no extension

前端 未结 18 1185
没有蜡笔的小新
没有蜡笔的小新 2020-11-28 02:14

How can binary files be ignored in git using the .gitignore file?

Example:

$ g++ hello.c -o hello

The

18条回答
  •  醉梦人生
    2020-11-28 02:24

    I created a .gitignore file with two entries in GOPATH directory.

    /bin
    /pkg
    

    It ignore all the compiled developments, currently.

提交回复
热议问题