其他问题汇总
1、解决文件名中文乱码
git config --global core.quotepath off2、set-upstream 同步
git push origin master -u # gp -u3、怎样修改 commit message?
git commit --amend # gc!4、操作符 ^ 和 ~ 什么区别?
git checkout v1 # gco v1
git checkout head~3 # gco head~35、git push origin :master 是个什么鬼操作?
6、如何快速生成 .gitignore 文件?
Last updated