<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                >[info] 用戶從windows接入 1. 下載安裝 git.exe 下載地址:https://git-scm.com/downloads 雙擊git.exe安裝git(一直點下一步,直到完成) 點擊電腦桌面空白地方右鍵看到如下兩行即安裝成功。 ![](https://img.kancloud.cn/e5/d7/e5d7c258f14d5b9f387987b7600a5050_582x476.png) ***** 2. 登錄 gitlab 網頁 ``` http://192.168.83.130:800 ``` ***** 3. 設置ssh **生成密匙:** 打開本地git bash,使用如下命令生成密匙 ``` # 詳解:(-C 參數是你的郵箱地址) 然后一路回車 ssh-keygen -t rsa -C '420029810@qq.com' ``` ***** **查看密匙:** ``` # ~表示用戶目錄,比如我的windows就是C:\\Users\\Administrator,并復制其中的內容 cat ~/.ssh/id_rsa.pub ``` ![](https://img.kancloud.cn/a0/05/a00537b3f9ab7277c358428e6664d7b9_723x259.png) ***** **復制密匙,添加密匙到gitlab:** 打開gitlab,找到Profile Settings-->SSH Keys--->Add SSH Key,并把上一步中復制的內容粘貼到Key所對應的文本框 ![](https://img.kancloud.cn/0e/8e/0e8e848f151d69783b1f59f2566086af_993x556.png) ***** >[info] 設置用戶名和郵箱 ``` git config --global user.name "初心" git config --global user.email "420029810@qq.com" ``` >[info] 從gitlab克隆代碼 1. .回到gitlab頁面點擊projects -> your projects ![](https://img.kancloud.cn/01/82/01825744b94a19c6643ab02a2914c03e_997x496.png) ***** 2. .選擇一個需要克隆的項目,進入,復制下載地址,記得加 **端口號 800** ``` git clone ssh://git@192.168.83.130:220/root/gitlab-test.git ``` ![](https://img.kancloud.cn/75/34/75348dd9d4b75dccc48a45b269d534de_1217x559.png) ![](https://img.kancloud.cn/ad/22/ad226f28f8b636494591f2bf1cfb67bc_737x328.png) ***** 3. .查看文件夾,項目已經克隆下來了 ![](https://img.kancloud.cn/c7/b0/c7b0609fea5061bcc39742b0078e5012_1079x856.png) >[info] 提交代碼到gitlab 1. 基于以上步驟,在克隆的項目文件夾下新增一個測試文件 **test.txt** 2. 查看同步狀態 在項目文件夾下右鍵點擊->Git Bash Here 3. 輸入命令 ``` git status ``` 可以看到紅色部分有需要提交的文件 ![](https://img.kancloud.cn/66/41/664182979575e6f942a85bb7c1c45c8c_745x398.png) 4. .提交代碼 (“git add“后加“.”則添加全部文件,也可以加"*.txt"表示添加全部需要提交的txt文件 ) ``` git add test.txt ``` ![](https://img.kancloud.cn/56/96/5696f94f6daedbd0b243b95fcc2d4c37_745x398.png) 5. 然后輸入以下命令提交并添加提交信息 ``` git commit -m "測試消息" ``` ![](https://img.kancloud.cn/d8/b5/d8b54c28feb69150a17cdb7972aa0079_616x179.png) ***** 5. 最后輸出以下命令提交到gitlab ``` git push origin master ``` ![](https://img.kancloud.cn/21/8d/218d49cca92c6e488ff365d57446b345_619x272.png) ![](https://img.kancloud.cn/14/15/141556a928bfd793efa0b4a855345fe7_773x310.png) 提交完成啦 再回到gitlab上看該項目就可以看到多了一個txt測試文件 *****
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看