search

Home  >  Q&A  >  body text

github - Can git ignore all files except a certain suffix

As the title says, is it equivalent to the complement of ignore?

PHPzPHPz2795 days ago748

reply all(1)I'll reply

  • 世界只因有你

    世界只因有你2017-05-02 09:30:04

    An optional prefix "!" which negates the pattern

    via https://git-scm.com/docs/gitignore

    reply
    0
  • Cancelreply