Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Initialization of gitlab code repository

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

After 1SSH certification

2. Submit code to master

[root@192 ~]# git clone git@192.168.56.11:develop/myone.git[root@192 ~]# lsanaconda-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]# lltotal 0-rw-r--r-- 1 root root 0 May 8 00:38 index.html[root@192 myone]# git add index.html [root@192 myone]# lsindex.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 masterCounting 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]# lltotal 0-rw-r--r-- 1 root root 0 May 8 00:38 index.html[root@192 myone]#

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report