我思故我在 – 笛卡尔
git push origin master
功能:用于将本地仓库master分支的数据推动到远程origin仓库。 常见错误:
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/deeper-think/deeper-think.github.io.git/info/refs
解决方法: 修改.git/config文件,将[remote “origin”]中url = https://github.com/deeper-think/deeper-think.github.io.git 改为url = https://deeper-think@github.com/deeper-think/deeper-think.github.io.git。
(gnome-ssh-askpass:3862): Gtk-WARNING **: cannot open display:
解决方法: 执行shell 命令:unset SSH_ASKPASS
enjoy the life !!!