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