摘要: 切换分支:git checkout name 撤销修改:git checkout -- file 删除文件:git rm file 查看状态:git status 添加记录:git add file 或 git add . 添加描述:git commit -m "miao shu nei rong" 阅读全文
posted @ 2016-03-02 17:28 雄狮_杜 阅读(216) 评论(0) 推荐(0) 编辑
摘要: 初始化配置 C代码 #配置使用git仓库的人员姓名 git config --global user.name "Your Name Comes Here" #配置使用git仓库的人员email git config --global user.email you@yourdomain.exampl 阅读全文
posted @ 2016-03-02 16:01 雄狮_杜 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 比如我在windows下用git clone gitURL 就提示 SSL certificate problem: self signed certificate 这种问题,在windows下出现得频率高些。我估计主要是git本身就是基于linux开发的,在windows上,容易缺失一些环境。 参 阅读全文
posted @ 2016-03-02 15:41 雄狮_杜 阅读(331) 评论(0) 推荐(0) 编辑