您好,登錄后才能下訂單哦!
1ssh 認(rèn)證以后
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]#
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。