search

Home  >  Q&A  >  body text

github - git项目 如何过滤没有后缀的二进制文件

RT
有些编译出的二进制文件是没有后缀的,如何过滤?

我想大声告诉你我想大声告诉你2761 days ago763

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-05-02 09:27:19

    Usually output to a fixed directory, such as dest然后统一忽略。要不然就赋予他们一个相同的pattern and then ignore it

    Off topic

    • Originally extensions had little impact on linux, but this year Linux has slowly started to use extensions to identify file types.

    • You don’t need to write an extension for window files.

    • It doesn’t have to be a binary file without an extension.

    • Git does not have an interface to ignore by judging the file content, unless you write it yourself.

    reply
    0
  • ringa_lee

    ringa_lee2017-05-02 09:27:19

    Add to ignore

    reply
    0
  • 黄舟

    黄舟2017-05-02 09:27:19

    If there is a problem with a single file, ignore the entire directory.

    reply
    0
  • Cancelreply