1
我正在使用git-svn,並使用.git/info/attributes
文件進行排序,模擬svn $ Id $標記。所以,我在我的.git/info/attributes
如下:如何從git id擴展中排除文件
#*.awk ident # disabled due to a/b/c/mdoc2man.awk
*.c ident
的問題是,我需要禁用的ident爲所有 awk的文件,而實際上,我只是想禁用它a/b/c/mdoc2man.awk
。我曾嘗試使用負面模式,但得到此警告:
warning: Negative patterns are ignored in git attributes
Use '\!' for literal leading exclamation.
是否有任何其他選項可用?
鑑於這個得到了多少意見,我將假設沒有人比我的下面有更好的主意,並會接受這個答案。 – 2014-08-31 11:11:32