因為需要將 GitLab 特定專案與 GitHub 特定專案進行同步, 因此將設定過程記錄在以下, 目前同步情境是 GitLab 如果有 push 就會自動 push 到 GitHub 上.
https://[email protected]/iii-org/php-app-pipeline-template.git
[core] repositoryformatversion = 0 filemode = false bare = false logallrefupdates = true symlinks = false ignorecase = true [remote "origin"] url = http://gitlab-demo.iiidevops.org/root/php-app-pipeline-template.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master