您好,登錄后才能下訂單哦!
1ssh 認證以后
2.提交代碼到master
[root@192 ~]# git clone git@192.168.56.11:develop/myone.git [root@192 ~]# ls anaconda-ks.cfg git-2.7.4 gitlab-ce-8.9.5-ce.0.el7.x86_64.rpm git-v2.7.4.zip myone [root@192 myone]# touch index.html [root@192 myone]# ll total 0 -rw-r--r-- 1 root root 0 May 8 00:38 index.html [root@192 myone]# git add index.html [root@192 myone]# ls index.html [root@192 myone]# git commit -m "add index.html" [master (root-commit) 82eac98] add index.html 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 index.html [root@192 myone]# [root@192 myone]# git push origin master Counting objects: 3, done. Writing objects: 100% (3/3), 210 bytes | 0 bytes/s, done. Total 3 (delta 0), reused 0 (delta 0) To git@192.168.56.11:develop/myone.git * [new branch] master -> master [root@192 myone]# ll total 0 -rw-r--r-- 1 root root 0 May 8 00:38 index.html [root@192 myone]#
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。