命令
*)一些解释
λ git log --graph --pretty=oneline --abbrev-commit * 836a213 (HEAD -> master, origin/master, origin/dev2) study cooperation#类似这些提示是所有的提交,包括所有文件的提交,这些提交中有的是对文件A的改动,有些是对文件B的改动,有些是对一批文件的改动 * 59b2b66 学习bug分支 * e0d028a 检查是否删除后依然能看出合并过 * 61f64f3 merge with no-ff |\ | * 5c287fe modify this |/ * 127f749 conflict fixed |\ | * fb4d959 and simple * | 466aa52 & simple |/ * a8a3763 don't konw what * b0bb2c9 add new line * 389efcb banch test * e9db995 add test.txt * 22ccc69 git trackes(跟踪器) change * 2561b39 理解stage怎么工作的 * 7acc523 '再次修改readme.txt' * c72e38e '添加了单词distributed' * 06bcd78 '添加了三个文件' * b30fedb 创建了一个readme.txt
错误
*)git commit -m后面紧跟的说明中如果时中文或者中英文混合的应该用双引号
λ git commit -m "git trackes(跟踪器) change"有中文时应该用双引号 [master 22ccc69] git trackes(跟踪器) change 1 file changed, 2 insertions(+), 1 deletion(-)