Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/git/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Git提交之前替换文本文件中的$markers$_Git_Git Svn - Fatal编程技术网

在Git提交之前替换文本文件中的$markers$

在Git提交之前替换文本文件中的$markers$,git,git-svn,Git,Git Svn,我使用诸如$Author$,$Date$,$Revision$之类的标记,这些标记在每次提交时都会更新 如何在Git中实现这一点?您可以使用Git的。 您也可以使用,但请注意。谢谢,我需要清洁过滤器链接中的“关键字扩展”部分。

我使用诸如
$Author$
$Date$
$Revision$
之类的标记,这些标记在每次提交时都会更新


如何在Git中实现这一点?

您可以使用Git的。 您也可以使用,但请注意。

谢谢,我需要清洁过滤器链接中的“关键字扩展”部分。