40823245 cd2021

  • Home
    • Site Map
    • reveal
    • blog
  • About
  • WORKS
    • stage1
      • W1
      • W2~W3
      • W4
      • 分組程式測試(待測試)
      • 後續
      • W5
      • 新增鏡頭
    • stage2
      • W6
      • W7
      • W8
      • W9
    • stage3
      • W10
      • task1
      • task2
      • task3
      • stage3作業
      • W15
      • W16
      • W17
      • W18
  • 筆記
    • 建立網頁
    • 9443
    • 8444
    • ssh
    • 上傳
    • 更改標題
    • Zoomit
    • 使用cms和acp指令
    • 合併組員倉儲
    • heroku
    • gitlab
      • gitlab-ssh
    • gogs
    • fossil
  • 網站影片
  • GitHub Pages問題
  • github問題
使用cms和acp指令 << Previous Next >> heroku

合併組員倉儲

組長:

需要把組員設為協同者,組員須同意申請

組員:

創建1個新的空倉儲(因為本人為組長,所以新辦1個github帳號做步驟)

Repository name輸入名稱,什麼都不要選直接create

進到tmp執行git clone --recurse-submodules 小組網址(因我tmp有stage1-bg1了,所以直接在data做)

進到資料夾,執行git remote add 「remote名稱」 個人github倉儲網址.git(剛剛創的空倉儲)

可看到多了remote(如有做ssh,請自行在remote底下新增,我用新帳號所以沒有使用)

執行git push 剛剛「remote名稱」

成功後到settings設定

把branch設為main並save

回去看是否有綠勾

之後組員若要推倉儲,一樣add、commit完後push有git push(推組長)和git push bg1(推自己)2種,都要推


使用cms和acp指令 << Previous Next >> heroku

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