如题。
~$ git-sh
!weakish *> git init
Initialized empty Git repository in /home/weakish/.git/
master!weakish *> exit
; rm -rf .git ➜ /m/p/m/segmentfault-news (master) ✗
; git-sh ➜ /m/p/m/segmentfault-news (master) ✗
master!myrepo/segmentfault-news *> cd /tmp/test
!test *> git init
Initialized empty Git repository in /tmp/test/.git/
master!test *> echo hello > world
master!test *> a world
master!test *> s
A world
master!test *> ci -m 'hello world'
[master (root-commit) f4317d6] hello world
1 file changed, 1 insertion(+)
create mode 100644 world
master!test> l
f4317d6 hello world
master!test> echo hi > world
master!test *> d
diff --git a/world b/world
index ce01362..45b983b 100644
--- a/world
+++ b/world
@@ -1 +1 @@
-hello
+hi
master!test *> ca -m 'hi world'
[master 2497405] hi world
1 file changed, 1 insertion(+), 1 deletion(-)
master!test> l
2497405 hi world
f4317d6 hello world
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。