在PhpStorm中,我在项目设置中设置默认的git作者时遇到了困难:
我使用了"动作查找器"并搜索了设置,但我还没有找到这个选项.
有谁知道我可以在哪里更改此值,所以我不必在每次提交时更改它?
Sim*_*der 29
感谢Andrew提供的信息,我找到了解决方案:
转到项目文件夹\ .git\config并添加以下行:
[user]
name = Your Name
email = name@domain.de
Run Code Online (Sandbox Code Playgroud)
我希望这对其他PhpStorm和git用户有帮助.
And*_*w C 21
在PhpStorm不知道,但你应该能够做到git config user.name "Your Name",并git config user.email "Your email"从里面回购命令行,或许达到你想要的结果.
| 归档时间: |
|
| 查看次数: |
17526 次 |
| 最近记录: |