1、git commit -m 写错了但是回车了咋办?
git commit --amend重新编辑一下就可以了。
2、Your branch is ahead of 'origin/master' by 1 commit.
但是实际又没有代码可以提交
此时应该使用 git pull --rebase
3、
git clone报错
Failed to connect to github.com port 443: Timed out
解决办法:
git config --global http.proxy ''
git config --global https.proxy ''
配置好代理地址。