Discuss / Git / 用 git push -u origin master 提示输入用户名与密码,密码无法输入

用 git push -u origin master 提示输入用户名与密码,密码无法输入

superfishie

#1 Created at ... [Delete] [Delete and Lock User]

在win7下使用git bash,输入 git push -u origin master 后,提示输入用户名与密码,输入用户名后,密码却无法输入

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

密码只是不显示出来,输入后按回车就有反应了。git的习惯和Linux一样,输密码屏幕没有任何显示。

廖老师您好 我在git push -u origin master之后提示输入密码 我输入了之后 却出现了fatal:Could not read from remote respository.please make sure you have the correct access rights and the respository exists. 我应该怎么办呀?

你好,请问我在git remote add origin 时用的是http传输,要怎么改回ssh传输呢?

廖雪峰

#5 Created at ... [Delete] [Delete and Lock User]

@zy一路向东 没权限写入

廖雪峰

#6 Created at ... [Delete] [Delete and Lock User]

@文艺的大三学长 最简单的办法:把整个库删掉再重新clone,用ssh协议

@廖雪峰,在 windows 平台下使用 mygit 软件连接 github 时,Bad file number 有关问题

提示我端口22错误。我本地连接测试shh是能通过的


  • 1

Reply