随笔分类 -  git 学习笔记

摘要:查看、添加、提交、删除、找回,重置修改文件git help # 显示command的helpgit show # 显示某次提交的内容 git show $idgit add # 将工作文件修改提交到本地暂存区git commit -m "Description" #提交到仓库,此时并没有到远程仓... 阅读全文
posted @ 2015-12-03 15:41 魔蝎 阅读(186) 评论(0) 推荐(0)
摘要:1. 推荐的 git 仓库(注册帐号并登录): https://github.com/ https://git.oschina.net/2. 创建仓库 里面的地址为 git 仓库的地址 ,以 https 为例:https://github.com/xxx/xxx.git3. 下载 git... 阅读全文
posted @ 2015-11-13 17:02 魔蝎 阅读(193) 评论(0) 推荐(0)