在atom中push不成功,又没有任何错误提示。
在git bash中push,提示输入用户名和密码。
原因是使用了https协议,改成ssh协议可以解决此问题。

1.把~/.ssh/id_rsa.pub加到git的工程中
2.改协议

git remote -v
origin  https://github.com/windmissing/windmissing.github.io.git (fetch)
origin  https://github.com/windmissing/windmissing.github.io.git (push)

git remote rm origin

git remote add origin git@github.com:windmissi
ng/windmissing.github.io.git

git remote -v
origin  git@github.com:windmissing/windmissing.github.io.git (fetch)
origin  git@github.com:windmissing/windmissing.github.io.git (push