Re: Does git store machine specific information
On Thu, Feb 11, 2016 at 08:02:05AM -0500, kamaraju kusumanchi wrote:
> Given a git repository, is it possible to extract a list of unique IP
> addresses from which commits were performed in the master branch? It
> does not have a to be an IP address but something that uniquely
> identifies a machine used in the commit. For example, if I am using
> the same account but committed from a laptop and a desktop then it
> should be counted as two hits.
In short, no.
In longer, there's data in there that could be used for steganographic
purposes. If you don't setup your GIT_AUTHOR_EMAIL properly, perhaps
your machine(s) hostname(s) will be in the commit message. Whatever
timezone your machines are set to will influence the date field(s) in
commits.
If you are worried, take a look at raw objects in your repository to
see what is recorded:
git show --format=raw <some-git-object e.g. HEAD>
Reply to: