开发者

GIT sharing configuration data

开发者 https://www.devze.com 2023-02-03 05:47 出处:网络
I just started using GIT for my versioning and I want to program some tools that work on top of it. Here is my question:

I just started using GIT for my versioning and I want to program some tools that work on top of it. Here is my question:

Which information in the .git/config is shared to a remote repo? Is any? Is there a special way to push information to that repo?

The reason I am asking is that I would like to add a "unique stamp" to the config of a repo. Also the remote re开发者_高级运维po and everybody pulling that project should have the stamp. Is that possible?

If not, is there any other way to identify a repository? Having a .git folder, I want to decide whether this git repo is the same as a previously specified remote repo (the same means created by pulling the remote repo, changes are okay, of course).


Nothing in the config file is transported as part of a repository.

You might find Git's notes facility useful, though.

0

精彩评论

暂无评论...
验证码 换一张
取 消