
git
文章平均质量分 74
Hokeo
这个作者很懒,什么都没留下…
展开
-
git push 的总结
$ git push ssh://git@dev.lemote.com/rt4ls.git master // 把本地仓库提交到远程仓库的master分支中$ git remote add origin ssh://git@dev.lemote.com/rt4ls.git$ git push origin master 这两个操作是等价的,第二个操作的第一行的意思是添加一个标记转载 2014-04-22 20:37:10 · 643 阅读 · 0 评论 -
git commit简介
在用git来进行版本控制时,我需要执行git commit命令,将索引内容添加到仓库中。示例1:git commit -m "提交的描述信息"如果我们这里不用-m参数的话,git将调到一个文本编译器(通常是vim)来让你输入提交的描述信息可能一天下来,你对工作树中的许多文档都进行了更新(文档添加、修改、删除),但是我忘记了它们的名字,此时若将所做的全部更新添加转载 2014-06-13 09:37:31 · 855 阅读 · 0 评论 -
git add
一、前言git add命令主要用于把我们要提交的文件的信息添加到索引库中。当我们使用git commit时,git将依据索引库中的内容来进行文件的提交。二、基本git add 表示 add to index only files created or modified and not those deleted 我通常是通过git add 的形式把我们添加到索引库中,可以是文件也可转载 2014-06-13 09:36:47 · 661 阅读 · 0 评论 -
How to create and apply a patch with Git
Git is quite common nowadays and a lot of people are asking me how they can create a patch file. Creating a patch file with git is quite easy to do, you just need to see how it's done a few times.转载 2014-07-14 10:12:12 · 774 阅读 · 0 评论