github

参考http://pages.github.com/,但是碰到以下2个问题
1.
[root@jack-90 blog]# git push
error: The requested URL returned error: 403 Forbidden while accessing https://github.com/jackzou19/blog.git/info/refs

fatal: HTTP request failed

[root@jack-90 blog]# vim .git/config


[remote “origin”]
fetch = +refs/heads/:refs/remotes/origin/
url = https://jackzou19@github.com/jackzou19/blog.git
将 url = https://github.com/jackzou19/blog.git改成上面这样即可。

2.
[root@jack-90 blog]# git push

(gnome-ssh-askpass:7359): Gtk-WARNING **: cannot open display:
[root@jack-90 blog]# unset SSH_ASKPASS

    原文作者:jackzou
    原文地址: https://segmentfault.com/a/1190000000369934
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞