本文记录Git的使用操作,把散落的记忆整理到一起。并介绍GitHub的使用。...
分类:
其他好文 时间:
2014-07-18 11:13:34
阅读次数:
313
Git使用的是Vim来作用默认的编辑器,但一直都用不好这个编辑器,所以打算把他换成sublime_text使用windows默认的记事本git config --global core.editor notepad使用sublime_text比较麻烦一点1.将sublime_text的安装目录“D:...
分类:
其他好文 时间:
2014-07-05 20:15:25
阅读次数:
390
git 服务器端配置:1.安装git:sudo apt-get install git-core2.安装ssh服务:sudo apt-get install openssh-server3.创建服务端仓库文件夹(用户root可以访问):mkdir /project.git4.新建空白仓库:git -...
分类:
其他好文 时间:
2014-06-30 21:39:58
阅读次数:
253
1. Git概念1.1. Git库中由三部分组成 Git 仓库就是那个.git 目录,其中存放的是我们所提交的文档索引内容,Git 可基于文档索引内容对其所管理的文档进行内容追踪,从而实现文档的版本控制。.git目录位于工作目录内。1) 工作目录:用户本地的目录;2) Index(索引):将工作目录...
分类:
其他好文 时间:
2014-06-27 19:26:15
阅读次数:
202
转载自: http://www.cnblogs.com/xishuai/p/3590705.html http://www.cnblogs.com/shanyou/p/3662482.html
分类:
Web程序 时间:
2014-06-26 19:47:34
阅读次数:
290
Git使用远程仓库的操作讲解:
1)克隆远程仓库
2)添加远程仓库
3)从远程仓库抓取数据
4)远程仓库本地改名
5)删除远程仓库在本地的配置
6)远程分支
7)推送到远程仓库
8)删除远程分支
9)查看仓库信息...
分类:
其他好文 时间:
2014-06-22 20:15:18
阅读次数:
216
因为我们的内部网络使用了代理,所以在 安装 OpenStack 基于 Web 的管理控制台 的时候有个小麻烦,我们的 http 代理服务器无法通过 git 协议下载 openstack-dashboard 所需的代码,也就是说可以 git clone https:// 这样克隆代码,但是不能使用 g...
分类:
其他好文 时间:
2014-06-21 14:45:28
阅读次数:
272
1. $git diff origin/master master (show me the changes between the remote master branch and my master branch). 需要注意的是,remotes/origin/master和origin/ma....
分类:
其他好文 时间:
2014-06-21 11:06:52
阅读次数:
212
一、Git的特性
Speed 速度(git是用c语言写的。一般都是提交到本地)
Simple design
Strong support for non-linear development (thousands of parallel branches)(强有力的支持非线性开发)
Fully distributed(分布式)
Able to handle large projects...
分类:
其他好文 时间:
2014-06-17 21:42:13
阅读次数:
272