Does git have anything like `svn propset svn:keywords` or pre-/post-commit hooks?

后端 未结 5 2007
一整个雨季
一整个雨季 2020-12-05 22:30

Browsing through the git documentation, I can\'t see anything analogous to SVN\'s commit hooks or the \"propset\" features that can, say, update a version number or copyrigh

5条回答
  •  萌比男神i
    2020-12-05 23:21

    Perhaps the most common SVN property, 'svn:ignore' is done through the .gitignore file, rather than metadata. I'm afraid I don't have anything more helpful for the other kinds of metadata.

提交回复
热议问题