git - How to use TFS credentials as commit author? -




it appears on our team foundation server 2015 when check our team project's git repository attribute commit author whatever in user's .gitconfig file under [user]. feel wrong since signs our tfs server tfs credentials (ad credentials) why wouldn't want able trace commit particular tfs team member?

is configured on tfs or git repo server side?

no, that's not possible , made design due fact git decentralised vcs.

to able exchange commits, git use sha1 hash permit sure commit (and history) unique.

and sha1 computed files contents , commit metadata. of them name , email of author , commiter.

if want change metadata when pushing, have modify commit , end different sha1.

if sha1 has changed, way git work not work anymore...

credentials here verify if have right push commits , not verify nor alter push.

ps: see metadata of commit using command git cat-file -p sha1_of_a_commit





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -