gpt4 book ai didi

git - 允许 node.exe 并忽略所有其他 .exe

转载 作者:太空狗 更新时间:2023-10-29 13:29:13 26 4
gpt4 key购买 nike

我不想忽略文件节点.exe

但忽略所有其他 .exe 文件,我该如何实现?

我的代码不工作:

# Compiled source #
###################
/build/*
!node.exe
*.exe

*.o
*.so
*.com
*.pdb
*.ini

最佳答案

颠倒顺序:

!node.exe
*.exe

到:

*.exe
!node.exe

最后一条语句“覆盖”了前面的语句。

关于git - 允许 node.exe 并忽略所有其他 .exe,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11448517/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com