Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你如何 git 应用补丁但排除 2 个文件?对于 1 个文件或文件模式,您可以--exclude标记。但是,如果我有 2 个不同的文件a.rb并且b.rb我需要排除但我有c.rb, d.rb,e.rb也在需要应用的补丁中怎么办。
--exclude
a.rb
b.rb
c.rb
d.rb
e.rb