idea中修改git提交代码的用户名、修改idea配置的提交代码的github账户 |
您所在的位置:网站首页 › 推特改用户名上面的名字怎么改 › idea中修改git提交代码的用户名、修改idea配置的提交代码的github账户 |
1、idea中修改git提交代码的用户名 打开terminal终端: 查看git用户名和邮箱地址命令: git config user.name git config user.email 修改当前项目的用户名和邮箱地址: git config user.name "userName" git config user.email "userEmail" 修改全局用户名和邮箱地址: git config --global user.name "userName" git config --global user.email "userEmail"2、修改idea配置的提交代码的github账户 file -> settings -> 输入'Passwords',选择'do not save,forget passwords after restart',重启idea,再次提交代码的时候就会重新输入git账户和密码。 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |