跳到主內容

Git Command

這會列出所有設定過的 remote 名稱及其對應的 URL — 包含 fetch (抓取) 跟 push (推送) 的 URL。
git remote -v
顯示 remote 的 fetch/push URL、HEAD branch、remote branches、local-remote 分支對應、追蹤 (tracking) 狀態等
git remote show origin
可以直接打開 code .git/config
git branch 看分支

把 GitLab 專案同步下載到本機(local)

git pull