持续集成与自动化部署 - gitlab部署 (四)
$ git clone git@salt-node4.damaicha.org-204:web/web_demo.git # 选择ssh方式的。 Cloning into 'web_demo'...remote: Counting objects: 6, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 6 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6/6), done.
$ cd web_demo/
$ touch index.html
$ echo wangfei >index.html
$ git add index.html
$ git commit -m "add index.html"
add index.html
1 file changed, 1 insertion(+)
create mode 100644 index.html
$ git push
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 280 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To git@salt-node4.damaicha.org-204:web/web_demo.git
8699ef8..933b21amaster -> master
页:
[1]