GIT sharing configuration data

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

What information in .git / config is used for remote repo? Whether there is a? Is there a way to send information to this repo?

The reason I am asking is because I would like to add a β€œunique stamp” to the repo configuration. Also the remote repo and everyone who pulls this project should have a stamp. Is it possible?

If not, is there another way to identify the repository? Having a .git folder, I want to decide if this GIT repo is the same as the previously mentioned remote repo (the same tools created by pulling out the remote repo, the changes, of course, everything is in order).

+4
source share
1 answer

Nothing in the configuration file is migrated as part of the repository.

However, you can find the Git notes object.

+2
source

Source: https://habr.com/ru/post/1334936/


All Articles