![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
DCGKCUF
这个作者很懒,什么都没留下…
展开
-
git第一步---建立版本库
以git的源码为例:http://kernel.org/pub/software/scm/git/git-1.6.0.tar.bz2下载下来后,解压tar jxf git-1.6.0.tar.bz2cd git-1.6.0一、创建一个版本库:git-init-db# git-init-db二、植入内容跟踪信息:git-add# git-add . //把当前目录下的所有代码,都加入了版原创 2008-12-18 15:15:00 · 820 阅读 · 0 评论 -
Git 安装方法
<!-- @page { margin: 2cm } P { margin-bottom: 0.21cm } --> http://kernel.org/pub/software/scm/git/http://kernel.org/pub/software/scm/git/git-1.6.0.tar.bz2./configure–原创 2008-12-18 14:21:00 · 3581 阅读 · 0 评论 -
新发现一个免费的支持私有仓库的git, Mercurial服务器,类似github
https://bitbucket.org/ 支持Git 或者 Mercurial,功能非常强大,跟 类似,但最重要的是支持免费的git私有仓库。也支持社交功能。 Unlimited disk space 无限制硬盘容量,不过也许不用高兴得太早,Bitbucket 在使用者人数上面有些限制,可以参考 Plans & Pricing,免原创 2011-12-06 16:58:41 · 4074 阅读 · 0 评论 -
How to remove file and commit from history in git(git中如何移除 commit 历史纪录)
假设我们的 commit tree 如下: R–A–B–C–D–E–HEAD 准备工作: rm -rf .git test.txt touch test.txt && git init && git add . echo "R" >> test.txt && git ci -a -m "R" echo "A" >> test.txt && git ci -a原创 2011-12-07 11:11:45 · 832 阅读 · 0 评论 -
Git Configuration
SVN-like shortcuts for often used commands: git config --global alias.st status git config --global alias.ci commit git config --global alias.co checkout git config --global alias.br branch原创 2010-04-01 14:55:00 · 472 阅读 · 0 评论 -
Git 版本控制 branch model 分支模型基本介绍
我相信大家对于 Git 版本控制不陌生了,Git 最大强项就是可以任意建立 branch,让您开发程序不需要担心原本的程序代码会被动到,造成不知道该怎么 恢复原来的状态。为了不影响产品发展,branch 对于大型工作团队就显得更重要 了,今天在网络上看到一篇 A successful Git branching model http://nvie.com/posts/a-successfu翻译 2011-12-07 15:01:48 · 3862 阅读 · 0 评论