--
Beihang Open Source Club mailing list
* beihang-open...@googlegroups.com
* http://groups.google.com/group/beihang-open-source-club
* Etiquette: http://code.google.com/p/bhosc/wiki/mailing_list_etiquette
* Unsubscribe: beihang-open-sourc...@googlegroups.com
2012/4/10 duyue <lyx...@gmail.com>:
> --
> Beihang Open Source Club mailing list
> * beihang-open...@googlegroups.com
> * http://groups.google.com/group/beihang-open-source-club
> * Etiquette: http://code.google.com/p/bhosc/wiki/mailing_list_etiquette
> * Unsubscribe: beihang-open-sourc...@googlegroups.com
--
Code is poetry.
喂喂喂,怎么说大三也算是有课的 = =
好想去,特别是git... 现在github上的fork搞得乱乱的。。。可惜不在北京。。。
--
Beihang Open Source Club mailing list
* beihang-open...@googlegroups.com
* http://groups.google.com/group/beihang-open-source-club
* Etiquette: http://code.google.com/p/bhosc/wiki/mailing_list_etiquette
* Unsubscribe: beihang-open-sourc...@googlegroups.com
他暴露了ip, 然后大家都懂了
--
Beihang Open Source Club mailing list
* beihang-open...@googlegroups.com
* http://groups.google.com/group/beihang-open-source-club
* Etiquette: http://code.google.com/p/bhosc/wiki/mailing_list_etiquette
* Unsubscribe: beihang-open-sourc...@googlegroups.com
--
Beihang Open Source Club mailing list
* beihang-open...@googlegroups.com
* http://groups.google.com/group/beihang-open-source-club
* Etiquette: http://code.google.com/p/bhosc/wiki/mailing_list_etiquette
* Unsubscribe: beihang-open-sourc...@googlegroups.com
2012/4/11 Raymond <ran...@gmail.com>:
> 到时候有没有人从北航一快儿过去阿?
>
+1
常驻北航求带路
不知道 labikyo 想聊哪些内容。我要说的基本都在这里,https://docs.google.com/document/pub?id=1FFssCYnbMgKk9rEEctDWz23Ne8WV4Uy5rOIehX0Rdkw
jesse
不知道 labikyo 想聊哪些内容。我要说的基本都在这里,https://docs.google.com/document/pub?id=1FFssCYnbMgKk9rEEctDWz23Ne8WV4Uy5rOIehX0Rdkw
jesse
其实就是 char * 吧 :D
> 再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……
是这个吧,http://book.git-scm.com/3_normal_workflow.html
Git tracks content not files
Many revision control systems provide an "add" command that tells the
system to start tracking changes to a new file. Git's "add" command
does something simpler and more powerful: git add is used both for new
and newly modified files, and in both cases it takes a snapshot of the
given files and stages that content in the index, ready for inclusion
in the next commit.
git add 的时候确实可以在内容上操作,但是往 .git/objects 存的时候还是把整个文件的所有内容一块做 snapshot
的。否则读取文件的时候怎么办?blob 之间是没有结构的。
jesse
git blame 貌似是一点点去搜的吧。看 builtin/blame.c。
jesse
还没写完outline :P 不过我要讲的都是应用层次的,内容上几乎没有重叠。我的计划是以workflow为线索,给出各种场景的解决方案,让大家对git能做到的事情有个印象。
好 :)
jesse
labikyo和jesse跟大家聊一聊git
如果坐公交的话,北门貌似要转,东门331/562/375直达语言大学。骑自行车也可以考虑,反正不远。
自行车前段时间被偷了,只能走路或者蹭谁的自行车后座了
--
Send from my phone
On Apr 18, 2012 4:22 PM, "Grissiom" <chaos....@gmail.com> wrote:
> OK,走起~
>
羡慕嫉妒恨。。。irc等你们。。。
--
1、场效应馆能吃饱肚子吗?我没法撤离实验室啊,木有钥匙,大家都去吃饭了……
2、有地方放笔记本吗?
--
Code is poetry.
都有,不过人多了有点挤
lyxint 杜越 07软院
grissiom
yuanotes
qinguan0619
ranjiao
liang qiushi 梁秋实
hetuo198881 -- 清华软院
kernelhcy -- GTKQQ
buaawangyue 王越 09软院
Julien Buty 轩辕豪杰1 (NLP)
leafduo 寇祖阳 09软院
huxuan 胡旭安 !== 扈煊
jesse 张森 06软院
labikyo 李欣越 09软院
后来好像有新来的同学?
@lynint 查了一下`git shortlog`没法输出stat,虽然确实有这个选项。sof里面都是回答用其他工具。
在我没说的第三部分里面提到的shortlog是用来生成release log的,估计shortlog原本就是设计用来做这个的。
On Tue, Apr 17, 2012 at 11:54 AM, Grissiom <chaos....@gmail.com> wrote:
> 相当期待~ 会不会讲讲 git 里与 key-value 相对应的 C struct 呢?嘿嘿……其实就是 char * 吧 :D
> 再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……
是这个吧,http://book.git-scm.com/3_normal_workflow.html
Git tracks content not files
Many revision control systems provide an "add" command that tells the
system to start tracking changes to a new file. Git's "add" command
does something simpler and more powerful: git add is used both for new
and newly modified files, and in both cases it takes a snapshot of the
given files and stages that content in the index, ready for inclusion
in the next commit.git add 的时候确实可以在内容上操作,但是往 .git/objects 存的时候还是把整个文件的所有内容一块做 snapshot
的。否则读取文件的时候怎么办?blob 之间是没有结构的。jesse
这个的意思应该是说,git 追踪的都是文件的内容,而不是文件本身。比如如果有两个文件内容是一样的,那么其实只产生一个 blob
object。讲的时候也提到了,但是没演示。
$ git init
Initialized empty Git repository in /tmp/test/.git/
$ find .git/objects/ -type f
$
$ echo hello > test1
$ git add test1
$ find .git/objects/ -type f
.git/objects/ce/013625030ba8dba906f756967f9e9ca394464a
$ echo hello > test2
$ git add test2
$ find .git/objects/ -type f
.git/objects/ce/013625030ba8dba906f756967f9e9ca394464a
$ git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: test1
# new file: test2
#
而且追踪的是整块的内容,不会自动把内容切块。
jesse
On Tue, Apr 17, 2012 at 11:54 AM, Grissiom <chaos....@gmail.com> wrote:
> 再有,以前不是经常说 git 是 track content, not file 的么?不过从 hash 的结果来看还是 track file 的?……这个的意思应该是说,git 追踪的都是文件的内容,而不是文件本身。比如如果有两个文件内容是一样的,那么其实只产生一个 blob
object。讲的时候也提到了,但是没演示。
jesse
--
Beihang Open Source Club mailing list
* beihang-open...@googlegroups.com
* http://groups.google.com/group/beihang-open-source-club
* Etiquette: http://code.google.com/p/bhosc/wiki/mailing_list_etiquette
* Unsubscribe: beihang-open-sourc...@googlegroups.com
英文版 http://marklodato.github.com/visual-git-guide/index-en.html
中文版 http://marklodato.github.com/visual-git-guide/index-zh-cn.html