gex
gex

Reputation: 921

GIT sharing configuration data

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 repo 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).

Upvotes: 4

Views: 131

Answers (1)

Phil Miller
Phil Miller

Reputation: 38118

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

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

Upvotes: 2

Related Questions