40823232 cd2021

  • Home
    • Site Map
    • reveal
    • blog
  • About
  • stage1各週進度
    • w1
    • w2討論主題
    • w3模擬
    • w4報告
  • stage2各週進度
    • w6
    • w7
    • w8
    • w9報告
  • stage3各週進度
    • w10
      • ipv4連線
    • w11
      • task1
    • w12
    • w13建立gitlab
      • 小組直播影片
    • W14
    • W15
    • W16 exam
    • W17
    • W18
  • note
    • zoomit
    • pelican.leo
    • coppeliasim
    • heroku
    • ssh
    • github been flagged
  • W5
w12 << Previous Next >> 小組直播影片

w13建立gitlab

因為個人github遭到封鎖,故建立gitlab

在網頁搜尋gitlab sign up建立自己的帳號,並建立倉儲

倉儲要設為public且Initialize repository with a README不要打勾。

到黑窗的倉儲輸入git branch查看分支狀態,再到倉儲跟目錄找出.gitlab-ci.yml用白窗打開將master改成main

save完後acp再輸入

git remote add gitlab https://gitlab.com/40823232/倉儲名.git

然後git push gitlab。到gitlab確定有推上去(commit會打勾),再到setting的page重整會有出現網址

該網址為網站連結。

ssh做法與之前相同,但putty要新增一個gitlab.com到auth選擇鑰匙


w12 << Previous Next >> 小組直播影片

Copyright © All rights reserved | This template is made with by Colorlib