GIT Daemon 配置 (分布式版本控制)
neo@deployment:/tmp$ git clone git://localhost/example.git example.git
Cloning into example.git...
warning: You appear to have cloned an empty repository.
neo@deployment:/tmp$ cd example.git/
neo@deployment:/tmp/example.git$ echo helloworld > hello.txt
neo@deployment:/tmp/example.git$ git add hello.txt
neo@deployment:/tmp/example.git$ git commit -m 'Initial commit'
Initial commit
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 hello.txt
页:
[1]