Determine which computer a git commit came from -


lately i've been exploring vast , terrible world of intellectual property law , people seem think if create something(software) on time, equipment, typically belongs you. know there many exclusions , couple of , informative posts on subject. i'm curious means violating agreement proven guilty.

my question is, possible link specific git commit computer committed with? how?

when push git repository on http, https, or ssh, remote server creates logs of time connection occurred , ip address originated from. however, companies employ nat, resulting in multiple computers on network sharing same public ip address.

some examples logs:

# ssh feb  8 01:08:37 git-server sshd[12619]: accepted publickey git 192.168.1.100 port 63012 ssh2: rsa sha256:xxxxxxxxxxxxxx feb  8 01:08:37 git-server sshd[12619]: pam_unix(sshd:session): session opened user git (uid=0)  # apache http(s) 192.168.1.100 - - [8/feb/2016:22:03:18 +0000] "get /repos/info/refs http/1.1" 200 153 

additionally, git decentralized, computer pushed commit did not author commit.

a commit tied name or username of sort, , email address; however, can changed @ time of committing without creating record of before , now.

this simple as:

$ git config user.name "john doe" $ git config user.email johndoe@example.com $ git commit $ git config user.name "jane otheruser" $ git config user.email janeotheruser@example.com 

so, in short, there heuristics can point authored commit , where, absolutely not absolute. git not record unique identifying information computer on commit authored.

version control systems subversion, in commits pushed 1 central repository, more linked public ip, still not linked individual computer or user.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -