本帖最后由 jianhong 于 2018-11-7 15:03 编辑
一,push时,报错 Invalid user or password1.找到File--Settings--Appearance & Behavior>>System Settings>>Passwords
2.选择Do not remember passwords
3.清除缓存并重启idea
4.再次push
5.出现密码框,输入正确密码
6.再回到密码设置,恢复为记住密码
二,push时,报错,Push rejected
例如是用git用户操作/home/git 目录及子目录
重新授予 git 用户为 /home/git 目录及子目录的拥有者
chown -R git:git /home/git 即可
|
|