GIT常見問題的解決方法

1. The requested URL returned error: 403 Forbidden while accessing XXXXXX

修改 .git/config

原來的部分

[remote "origin"]
    url = https://github.com/wangz/example.git

修改爲

[remote "origin"]
    url = https://[email protected]/luckybins/multi-mysql-replicator.git

2. Gtk-WARNING **: cannot open display: XXXXXX

echo 'unset SSH_ASKPASS' >> ~/.bashrc && source ~/.bashrc

解決報錯:http://stackoverflow.com/questions/16077971/git-push-produces-gtk-warning

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章