随笔分类 - Git
摘要:git pull失败 报错提示: Please commit your changes or stash them before you merge. 解决方法 1.强制覆盖掉自己的本地修改 git reset --hard //强制覆盖 git pull 2.将修改保存到暂存区 git stash
阅读全文
摘要:安装Git 首先请前往Git官网去下载最新的安装包 Mac:https://git-scm.com/download/mac Win: https://git-scm.com/download/win 安装完成后,需要设定用户名和邮箱来区分不同的用户: git config --global use
阅读全文