简体   繁体   English

如何匿名将更改提交到Git存储库

[英]How to commit changes to Git repository anonymously

I have an empty git repository (hosted on GitHub or wherever). 我有一个空的git存储库(托管在GitHub或任何地方)。

I want to commit my changes to it anonymously like the below picture. 我想匿名提交对它的更改,如下图所示。 How should I setup my git configuration (preferably project specific config) to achieve that? 我应该如何设置我的git配置(最好是项目特定的配置)来实现?

下图

Thanks 谢谢

PS: In case you're asking But why? PS:如果您要问, 但是为什么呢? , check out the conferences Double-Blind review process . ,请查看会议“ 双盲”审查流程

From inside your local git repository; 从本地git存储库内部;

git config user.name 'Anonymous'
git config user.email '<>'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM