我有以下檔案夾。我需要忽略目標檔案夾中的所有檔案夾和檔案。現在我正在做如下
\abc\cde\my-app-1\target\*
\abc\cde\my-app-2\target\*
\abc\cde\my-app-3\target\*
我將在未來創建 my-app-4 等,我需要繼續添加路徑 .tfiignore 檔案。如何在 .tfignore 中創建通用路徑,這樣我就不必每次都修改我的 .tfignore。
我在下面嘗試過,但沒有用
\abc\cde\*\target\*
uj5u.com熱心網友回復:
您可以嘗試將以下添加到 .tfignore 以忽略該target檔案夾。
abc\cde\target
或者
abc\target
我已經測驗了上面的路徑。他們都按預期作業。
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/417844.html
標籤:
