06 2015 档案
摘要:转自: 搭建自己的git 代码服务器 1、切换到root用户 stevenrao@server:~$ su - root 2、创建git组 root@server:~$ groupadd git root@server:~$ groupadd user 3、添加git账户 root@server:~
阅读全文
摘要:1. 本地仓库忽略本地仓库的文件忽略规则可以在 .git/info/exclude 文件中添加。这些忽略的文件不会提交到共享库中,因而不会被协作者所共享。# git ls-files --others --exclude-from=.git/info/exclude# Lines that star
阅读全文
摘要:现在随着Githut和SNS的流行,Social Code也像Facebook在世界中流行一样,在程序猿中流行开来。而且有犹如星星之火,在程序猿中燎原开来。有Linus这样的大牛作为发明人,有Linux Kernel这样的庞大应用作为“小白鼠”做测试,再有Github这样开放的网络交流平台,Git想
阅读全文
摘要:http://stackoverflow.com/questions/348170/undo-git-add-before-commit I mistakenly added files using the command I have not yet run git commit. Is ther
阅读全文
摘要:git init 和 git init –bare 的区别使用命令"git init --bare"(bare汉语意思是:裸,裸的)初始化的版本库(暂且称为bare repository)只会生成一类文件:用于记录版本库历史记录的.git目录下面的文件;而不会包含实际项目源文件的拷贝;所以该版本库不
阅读全文

浙公网安备 33010602011771号