摘要:
原因:在clone 项目的时候,使用了 https方式,而不是ssh方式。 解决方法: 到本地项目文件夹子,打开git bash 1.查看clone 地址:git remote -v 说明是https 方式,现在换成ssh方式。 2.移除https的方式,换成 ssh方式 git remote rm 阅读全文
摘要:
1、在需要创建 .gitignore 文件的文件夹, 右键选择Git Bash 进入命令行,进入项目所在目录。 2、输入 touch .gitignore ,生成“.gitignore”文件。 3、在”.gitignore” 文件里输入你要忽略的文件夹及其文件就可以了。(注意格式) 我的.gitig 阅读全文