git
lzhsdly
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
commit
转自:github.com Think of a commit as a snapshot of your project —code, files, everything — at a particular point in time. More accurately, after your first commit, each subsequent commit is only转载 2011-12-17 13:00:36 · 190 阅读 · 0 评论 -
ERROR:gitosis.serve.main:Repository read access denied fatal: The remote end hung up unexpectedly
Turned out it was because I was using the same username as my main SSH shell logon (dan). So I changed my git admin to use the same SSH key pair, and it seems to work fine now. Also now using Gitolite转载 2011-12-15 17:29:05 · 3121 阅读 · 0 评论 -
git remote用法总结
转自:http://blog.youkuaiyun.com/xiruanliuwei/article/details/6919416 git remote git remote 不带参数,列出已经存在的远程分支,例如: #git remote origin_apps git remote -v | --verbose 列出详细信息,在每一个名字后面列出其远程url,例如: #git rem转载 2011-12-16 15:16:52 · 383 阅读 · 0 评论 -
git branch用法总结
http://blog.youkuaiyun.com/xiruanliuwei/article/details/6919319 git branch git branch 不带参数:列出本地已经存在的分支,并且在当前分支的前面加“*”号标记,例如: #git branch * master newbranch git branch -r 列出远程分支,例如:转载 2011-12-16 15:59:51 · 461 阅读 · 0 评论 -
git相关
<!-- p {margin-bottom:0.21cm} --> 不要改动本机的.pub文件的存储路径(ubuntu下默认为~/.ssh),否则的话,服务器会拒绝连接!!原创 2011-12-16 15:54:59 · 224 阅读 · 0 评论 -
新添git用户、及仓库内容下载
1.添加新用户 将新的.pub文件放入keydir/目录并将其前缀添加到.conf文件后,终端执行 git status //查看提示状态改变 git add . //将上述变化(发生在当前路径.上的)全部包括在内 git commit -m "add ***" 再git status,查看是否有未包含的动作 若提示: nothingto commit (working原创 2012-02-06 10:48:29 · 269 阅读 · 0 评论 -
git拾遗
git init git clone /opt/workspace/pmon HEAD 1.use "git add ..." to update what will be committed use "git checkout -- ..." to discard changes in working directory eg: 修改了当前仓库的某个文件(eg,README原创 2011-12-17 13:07:49 · 222 阅读 · 0 评论 -
使用git进行版本管理
git的基本概念 git的四种对象 blob对象。即文件。注意只包含内容,没有名字,权限等属性(但包含大小)tree对象。相当于文件夹。所包含的文件(blob对象)/文件夹(tree对象)的名字及其基本属性(比如权限、是否符号链接等)的列表。commit对象。表示修改历史。commit对象可以视为类似矢量的概念,由父commit(可能不只一个,合并情形下)指向新的tree对象。子com转载 2012-03-19 12:56:39 · 410 阅读 · 0 评论
分享