<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之旅 廣告
                # GitHub import > 原文:[https://docs.gitlab.com/ee/administration/raketasks/github_import.html](https://docs.gitlab.com/ee/administration/raketasks/github_import.html) * [Caveats](#caveats) * [Importing multiple projects](#importing-multiple-projects) * [Importing a single project](#importing-a-single-project) # GitHub import[](#github-import-core-only "Permalink") 在 GitLab 9.1 中[引入](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/10308) . 為了檢索和導入 GitHub 存儲庫,您將需要一個[GitHub 個人訪問令牌](https://github.com/settings/tokens) . 用戶名應作為 Rake 任務的第二個參數傳遞,該任務將成為項目的所有者. 您可以使用相同的命令恢復導入. 請記住,語法非常具體. 刪除參數塊內以及方括號之前/之后的所有空格. 此外,某些外殼程序(例如`zsh` )可以分別解釋開/關括號( `[]` ). 您可能需要轉義括號或使用雙引號. ## Caveats[](#caveats "Permalink") 如果在導入時達到 GitHub [速率限制](https://developer.github.com/v3/#rate-limiting) ,則導入過程將等待( `sleep()` ),直到可以繼續導入為止. ## Importing multiple projects[](#importing-multiple-projects "Permalink") 要從可用的 GitHub 項目列表中導入項目,請執行以下操作: ``` # Omnibus installations sudo gitlab-rake "import:github[access_token,root,foo/bar]" # Installations from source bundle exec rake "import:github[access_token,root,foo/bar]" RAILS_ENV=production ``` 在這種情況下, `access_token`是您的 GitHub 個人訪問令牌, `root`是您的 GitLab 用戶名,而`foo/bar`是將從您的 GitHub 項目創建的新 GitLab 名稱空間/項目. 子組也是可能的: `foo/foo/bar` . ## Importing a single project[](#importing-a-single-project "Permalink") 要導入特定的 GitHub 項目(在此處名為`foo/github_repo` ): ``` # Omnibus installations sudo gitlab-rake "import:github[access_token,root,foo/bar,foo/github_repo]" # Installations from source bundle exec rake "import:github[access_token,root,foo/bar,foo/github_repo]" RAILS_ENV=production ```
                  <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>

                              哎呀哎呀视频在线观看