摘要: 我用git add file添加文件时出现了这样错误: fatal: Not a git repository (or any of the parent directories): .git 提示说没有.git这样一个目录,解决办法如下: git init就可以了! 也就是说,在命令行敲入git 阅读全文
posted @ 2018-08-01 23:59 Curo 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 初次安装git配置用户名和邮箱 初次安装git需要配置用户名和邮箱,否则git会提示:please tell me who you are. 你需要运行命令来配置你的用户名和邮箱: $ git config --global user.name "superGG1990" $ git config  阅读全文
posted @ 2018-08-01 23:53 Curo 阅读(347) 评论(0) 推荐(0) 编辑