How to change author email at commit time with hooks

前端 未结 3 1797
萌比男神i
萌比男神i 2020-12-18 09:59

Question says it all.

I want to give my users some privacy by obfuscating their real email addresses in commits by aliases of my own. Is there a hook that can help m

3条回答
  •  醉梦人生
    2020-12-18 10:54

    You could just get them to change the user.email property in their local repository.

    git config user.email email@server.com
    

提交回复
热议问题