<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>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # Projects > 原文:[https://docs.gitlab.com/ee/user/project/](https://docs.gitlab.com/ee/user/project/) * [Project features](#project-features) * [Project integrations](#project-integrations) * [New project](#new-project) * [Fork a project](#fork-a-project) * [Star a project](#star-a-project) * [Explore projects](#explore-projects) * [Project settings](#project-settings) * [Import or export a project](#import-or-export-a-project) * [Remove a project](#remove-a-project) * [Delayed removal](#delayed-removal-premium) * [CI/CD for external repositories](#cicd-for-external-repositories-premium) * [Project members](#project-members) * [Project activity](#project-activity) * [Leave a project](#leave-a-project) * [Project’s landing page](#projects-landing-page) * [Redirects when changing repository paths](#redirects-when-changing-repository-paths) * [Use your project as a Go package](#use-your-project-as-a-go-package) * [Disable Go module features for private projects](#disable-go-module-features-for-private-projects) * [Authenticate Go requests](#authenticate-go-requests) * [Authenticate Git fetches](#authenticate-git-fetches) * [Access project page with project ID](#access-project-page-with-project-id) * [Project aliases](#project-aliases-premium-only) * [Project APIs](#project-apis) # Projects[](#projects "Permalink") 在 GitLab 中,您可以創建用于托管代碼庫的項目,將其用作問題跟蹤器,在代碼上進行協作,并使用內置的 GitLab CI / CD 持續構建,測試和部署應用程序. 您可以[選擇](../../public_access/public_access.html)公開,內部或私有[使用](../../public_access/public_access.html)您的項目. GitLab 不限制您創建的私人項目的數量. ## Project features[](#project-features "Permalink") 在 GitLab 中創建項目時,您將可以使用大量[功能](https://about.gitlab.com/features/) : **Repositories:** * [問題跟蹤器](issues/index.html) :與您的團隊討論問題內的實現 * [發行板](issue_board.html) :組織工作流程并確定其優先級 * [多個發行板](issue_board.html#multiple-issue-boards) :允許您的團隊為同一項目創建自己的工作流(發行板) * [存儲庫](repository/index.html) :將代碼托管在完全集成的平臺中 * [分支](repository/branches/index.html) :使用 Git 分支策略在代碼上進行協作 * [受保護的分支機構](protected_branches.html) :防止協作者弄亂歷史記錄或在未經審查的情況下推送代碼 * [受保護的標簽](protected_tags.html) :控制誰有權創建標簽,并防止意外更新或刪除 * [儲存庫鏡??像](repository/repository_mirroring.html) * [簽署提交](gpg_signed_commits/index.html) :使用 GPG 簽署您的提交 * [部署令牌](deploy_tokens/index.html) :管理基于項目的部署令牌,這些令牌允許永久訪問存儲庫和 Container Registry. * [Web IDE](web_ide/index.html) **發出和合并請求:** * [問題跟蹤器](issues/index.html) :與您的團隊討論問題內的實現 * [發行板](issue_board.html) :組織工作流程并確定其優先級 * [多個發行板](issue_board.html#multiple-issue-boards) :允許您的團隊為同一項目創建自己的工作流(發行板) * [合并請求](merge_requests/index.html) :應用您的分支策略并獲得團隊的審查 * [合并請求批準](merge_requests/merge_request_approvals.html) :實施更改之前[請求批準](merge_requests/merge_request_approvals.html) * [修復 UI 中的合并沖突](merge_requests/resolve_conflicts.html) :直接從 GitLab UI 中使用 Git diff 工具 * [審查應用程序](../../ci/review_apps/index.html) :按分支實時預覽合并請求中建議的更改結果 * [標簽](labels.html) :按標簽整理問題并合并請求 * [時間跟蹤](time_tracking.html) :跟蹤估計在完成問題或合并請求上花費的時間和時間 * [里程碑](milestones/index.html) :朝著目標日期邁進 * [描述模板](description_templates.html) :為項目定義特定于上下文的模板,并為您的項目合并請求描述字段 * [斜杠命令(快速操作)](quick_actions.html) :針對問題或合并請求的常見操作的文本快捷方式 * [自動完成字符](autocomplete_characters.html) :自動完成對用戶,組,問題,合并請求和其他 GitLab 元素的引用. * [Web IDE](web_ide/index.html) **亞搏體育 app CI / CD:** * [GitLab CI / CD](../../ci/README.html) :GitLab 內置的[持續集成,交付和部署](https://about.gitlab.com/blog/2016/08/05/continuous-integration-delivery-and-deployment-with-gitlab/)工具 * [容器注冊表](../packages/container_registry/index.html) :開箱即用地構建和推送 Docker 映像 * [自動部署](../../topics/autodevops/stages.html#auto-deploy) :配置 GitLab CI / CD 以自動設置應用程序的部署 * [啟用和禁用 GitLab CI / CD](../../ci/enable_or_disable_ci.html) * [管道](../../ci/pipelines/index.html) :從 UI 配置和可視化 GitLab CI / CD 管道 * [計劃的管道](../../ci/pipelines/schedules.html) :計劃管道以在選定的時間開始 * [管道圖](../../ci/pipelines/index.html#visualize-pipelines) :通過 UI 查看整個管道 * [作業工件](../../ci/pipelines/job_artifacts.html) :定義,瀏覽和下載作業工件 * [管道設置](../../ci/pipelines/settings.html) :設置 Git 策略(選擇從作業中的 GitLab 提取存儲庫的默認方式),超時(定義可以運行作業的最長時間(以分鐘為`.gitlab-ci.yml` )) `.gitlab-ci.yml`自定義路徑,測試覆蓋率分析,管道的可見性等 * [Kubernetes 集群集成](clusters/index.html) :將您的 GitLab 項目與 Kubernetes 集群連接 * [功能標志](../../operations/feature_flags.html) :功能標志允許您通過動態切換某些功能來以不同的方式發布項目 * [GitLab Pages](pages/index.html) :使用[GitLab Pages](pages/index.html)構建,測試和部署您的靜態網站 **其他特性:** * [Wiki](wiki/index.html) :在集成的 Wiki 中記錄您的 GitLab 項目. * [片段](../snippets.html) :存儲,共享和協作代碼片段. * [價值流分析](cycle_analytics.html) :查看您的開發生命周期. * [見解](insights/index.html) :配置對您的項目至關重要的見解. * [安全儀表板](security_dashboard.html) :安全儀表板. * [語法突出顯示](highlighting.html) :一種自定義代碼塊的替代方法,它替代了 GitLab 的默認語言選擇. * [徽章](badges.html) :項目概述的徽章. * [發行版](releases/index.html) :一種跟蹤項目中可交付成果的方式,可作為源,構建輸出,其他元數據和與代碼的發行版本相關的其他工件的快照. * [Conan 軟件包](../packages/conan_repository/index.html) :您在 GitLab 中的私人 Conan 存儲庫. * [Maven 軟件包](../packages/maven_repository/index.html) :您在 GitLab 中的私有 Maven 存儲庫. * [NPM 軟件包](../packages/npm_registry/index.html) :您在 GitLab 中的私有 NPM 軟件包注冊表. * [代碼所有者](code_owners.html) :為某些文件指定代碼所有者 * [許可證合規性](../compliance/license_compliance/index.html) :批準和拒絕項目的許可證. * [依賴項列表](../application_security/dependency_list/index.html) :查看項目依賴項. * [要求](requirements/index.html) :要求使您可以創建標準來檢查產品. * [靜態站點編輯器](static_site_editor/index.html) :無需事先了解代碼庫或 Git 命令,即可在靜態網站上快速編輯內容. * [代碼智能](code_intelligence.html) :代碼導航功能. ### Project integrations[](#project-integrations "Permalink") [將您的項目](integrations/index.html)與 Jira,Mattermost,Kubernetes,Slack 等進行[集成](integrations/index.html) . ## New project[](#new-project "Permalink") 了解如何在 GitLab 中[創建一個新項目](../../gitlab-basics/create-project.html) . ### Fork a project[](#fork-a-project "Permalink") 您可以[派生一個項目](repository/forking_workflow.html) ,以便: * 通過分叉項目并創建從分支到上游項目的合并請求來進行代碼協作 * 分叉一個示例項目以在其頂部工作 ### Star a project[](#star-a-project "Permalink") 您可以為項目加注星標,以使其更容易找到您經常使用的項目. 項目擁有的明星數量可以表明其受歡迎程度. 為項目加注星標: 1. 轉到要加注星標的項目的主頁. 2. 在頁面的右上角,點擊**星標** . 要查看已加星標的項目,請執行以下操作: 1. 單擊導航欄中的**項目** . 2. Click **已加星標的項目**. 3. GitLab 顯示有關已加星標項目的信息,包括: * 項目描述,包括名稱,描述和圖標 * 已為該項目加注星標的次數 * Number of times this project has been forked * 打開的合并請求數 * 未解決問題的數量 ### Explore projects[](#explore-projects "Permalink") 您可以探索 GitLab 上可用的其他流行項目. 探索項目: 1. 單擊導航欄中的**項目** . 2. Click **探索項目**. GitLab 顯示一個項目列表,按上次更新日期排序. 要查看具有最多[星星的](#star-a-project)項目,請單擊" **最多星星"** . 要查看過去一個月中評論數量最多的項目,請點擊**趨勢** . ## Project settings[](#project-settings "Permalink") 將項目的可見性級別和訪問級別設置為各個頁面,并執行諸如歸檔,重命名或傳輸項目的操作. 通讀有關[項目設置](settings/index.html)的文檔. ## Import or export a project[](#import-or-export-a-project "Permalink") * [Import a project](import/index.html) from: * [GitHub to GitLab](import/github.html) * [Bitbucket to GitLab](import/bitbucket.html) * [Gitea to GitLab](import/gitea.html) * [FogBugz to GitLab](import/fogbugz.html) * [Export a project from GitLab](settings/import_export.html#exporting-a-project-and-its-data) * [Importing and exporting projects between GitLab instances](settings/import_export.html) ## Remove a project[](#remove-a-project "Permalink") 要刪除項目,請首先導航到該項目的主頁. 1. 導航至**設置>常規** . 2. 展開**高級**部分. 3. 向下滾動到" **刪除項目"**部分. 4. Click **移除專案** 5. 通過輸入所需的文本來確認此操作. ### Delayed removal[](#delayed-removal-premium "Permalink") 默認情況下,單擊以刪除項目后會延遲 7 天. 管理員可以在這段時間內恢復項目. [管理員可以更改](../admin_area/settings/visibility_and_access_controls.html#default-deletion-adjourned-period-premium-only)此延遲. 管理員可以查看所有待刪除項目. 如果您是管理員,請轉到頂部導航欄,單擊" **項目">"您的項目"** ,然后選擇"已**刪除的項目"**選項卡. 管理員可以從此選項卡還原任何項目. ## CI/CD for external repositories[](#cicd-for-external-repositories-premium "Permalink") 您可以將存儲庫作為 CI / CD 項目連接,而不是將存儲庫直接導入到 GitLab. 通讀[CI / CD 上有關外部存儲庫](../../ci/ci_cd_for_external_repos/index.html)的文檔. ## Project members[](#project-members "Permalink") 了解如何[將成員添加到您的項目中](members/index.html) . ## Project activity[](#project-activity "Permalink") 要查看項目的活動,請導航至**項目概述>活動** . 在此處,您可以單擊選項卡以查看**所有**活動,或查看按**Push 事件** , **Merge 事件** , **Issue 事件** , **Comment** , **Team**和**Wiki**過濾的**活動** . ### Leave a project[](#leave-a-project "Permalink") 當項目屬于組時(在[組命名空間下](../group/index.html#namespaces) ), **離開項目**將僅顯示在項目的儀表板上. 如果您選擇退出項目,那么您將不再是項目成員,因此無法參與. ## Project’s landing page[](#projects-landing-page "Permalink") 項目的登錄頁面根據項目的可見性設置和用戶權限顯示不同的信息. 對于公共項目以及[有權查看該項目代碼](../permissions.html#project-members-permissions)的內部和私有項目的成員: * 顯示[`README`文件或索引文件的](repository/#repository-readme-and-index-files)內容(如果有),然后顯示項目存儲庫中的目錄列表. * 如果項目不包含這些文件中的任何一個,則訪問者將看到存儲庫的文件和目錄列表. 對于沒有權限查看項目代碼的用戶: * 顯示維基主頁(如果有). * 顯示項目中的問題列表. ## Redirects when changing repository paths[](#redirects-when-changing-repository-paths "Permalink") 當存儲庫路徑更改時,從舊位置平穩過渡到新位置至關重要. GitLab 提供兩種重定向:Web UI 和 Git 推/拉重定向. 根據情況,可能會有所不同. When [renaming a user](../profile/index.html#changing-your-username), [changing a group path](../group/index.html#changing-a-groups-path) or [renaming a repository](settings/index.html#renaming-a-repository): * 名稱空間及其下的任何內容(例如項目)的現有 Web URL 將重定向到新 URL. * 從 GitLab 10.3 開始,命名空間下項目的現有 Git 遠程 URL 將重定向到新的遠程 URL. 每次將其推/拉到更改位置的存儲庫時,都會顯示一條警告消息,提示您更新遙控器,而不是拒絕操作. 這意味著在重命名后,任何自動化腳本或 Git 客戶端將繼續工作,從而使任何過渡都更加順暢. * The redirects will be available as long as the original path is not claimed by another group, user or project. ## Use your project as a Go package[](#use-your-project-as-a-go-package "Permalink") 任何項目都可以用作 Go 包. GitLab 會正確響應`go get`和`godoc.org`發現請求,包括[`go-import`](https://s0golang0org.icopy.site/cmd/go/)和[`go-source`](https://github.com/golang/gddo/wiki/Source-Code-Links)元標記. 私有項目(包括子組中的項目)可以用作 Go 包,但可能需要進行配置才能正常工作. 無論身份驗證或授權如何,GitLab 都會正確響應以`go get` *不在*子組中的項目的發現請求. 要使用子組中的私有項目作為 Go 包,必須進行[身份驗證](#authenticate-go-requests) . 否則,GitLab 會將子組中私有項目的路徑截斷到前兩個段,從而導致`go get`失敗. GitLab 實現了自己的 Go 代理. 此功能必須由管理員啟用,并且需要其他配置. 請參閱[GitLab Go 代理](../packages/go_proxy/index.html) . ### Disable Go module features for private projects[](#disable-go-module-features-for-private-projects "Permalink") In Go 1.12 and later, Go queries module proxies and checksum databases in the process of [fetching a module](../../development/go_guide/dependencies.html#fetching). This can be selectively disabled with `GOPRIVATE` (disable both), [`GONOPROXY`](../../development/go_guide/dependencies.html#proxies) (disable proxy queries), and [`GONOSUMDB`](../../development/go_guide/dependencies.html#fetching) (disable checksum queries). `GOPRIVATE` , `GONOPROXY`和`GONOSUMDB`是 Go 模塊和 Go 模塊前綴的逗號分隔列表. 例如, `GOPRIVATE=gitlab.example.com/my/private/project`將禁用對該項目的查詢,而`GOPRIVATE=gitlab.example.com`將禁用`GOPRIVATE=gitlab.example.com` *所有*項目的查詢. 如果模塊名稱或其前綴出現在`GOPRIVATE`或`GONOPROXY` ,則 Go 不會查詢模塊代理. 如果模塊名稱或其前綴出現在`GONOPRIVATE`或`GONOSUMDB` ,則 Go 不會查詢校驗和數據庫. ### Authenticate Go requests[](#authenticate-go-requests "Permalink") 要驗證對 Go 私有項目的請求,請在密碼字段中使用[`.netrc`文件](https://ec.haxx.se/usingcurl-netrc.html)和[個人訪問令牌](../profile/personal_access_tokens.html) . **僅當可以通過 HTTPS 訪問您的 GitLab 實例時,此方法才有效.** `go`命令不會通過不安全的連接傳輸憑據. 這將驗證 Go 直接發出的所有 HTTPS 請求,但不會驗證通過 Git 發出的請求. 例如: ``` machine example.gitlab.com login <gitlab_user_name> password <personal_access_token> ``` **注意:**在 Windows 上,Go 讀取`~/_netrc`而不是`~/.netrc` . ### Authenticate Git fetches[](#authenticate-git-fetches "Permalink") 如果無法從代理中獲取模塊,Go 將退回到使用 Git(對于 GitLab 項目). Git 將使用`.netrc`來認證請求. 另外,可以將 Git 配置為在請求 URL 中嵌入特定的憑據,或者使用 SSH 代替 HTTPS(因為 Go 始終使用 HTTPS 來獲取 Git 存儲庫): ``` # embed credentials in any request to GitLab.com: git config --global url."https://${user}:${personal_access_token}@gitlab.example.com".insteadOf "https://gitlab.example.com" # use SSH instead of HTTPS: git config --global url."git@gitlab.example.com".insteadOf "https://gitlab.example.com" ``` ## Access project page with project ID[](#access-project-page-with-project-id "Permalink") 在 GitLab 11.8 中[引入](https://gitlab.com/gitlab-org/gitlab-foss/-/issues/53671) . 要使用項目 ID 從 GitLab UI 快速訪問項目,請在瀏覽器或其他訪問項目的工具中訪問`/projects/:id` URL. ## Project aliases[](#project-aliases-premium-only "Permalink") [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/3264) in [GitLab Premium](https://about.gitlab.com/pricing/) 12.1. 將存儲庫遷移到 GitLab 并被其他系統訪問時,能夠使用相同的名稱訪問它們非常有用,尤其是當它們很多時. 它降低了在大量系統中更改大量 Git URL 的風險. manbetx 客戶端打不開提供了功能來幫助這一點. 在 GitLab 中,通常使用名稱空間和項目名稱訪問存儲庫. 也可以通過項目別名訪問它們. 此功能僅在通過 SSH 的 Git 上可用. 項目別名只能通過 API 創建,并且只能由 GitLab 管理員創建. 有關更多詳細信息,請遵循[Project Aliases API 文檔](../../api/project_aliases.html) . 一旦為項目創建了別名(例如,項目`https://gitlab.com/gitlab-org/gitlab`的別名`gitlab` ),就可以使用別名(例如`git clone git@gitlab.com:gitlab.git` )來克隆存儲庫. `git clone git@gitlab.com:gitlab.git`而不是`git clone git@gitlab.com:gitlab-org/gitlab.git` ). ## Project APIs[](#project-apis "Permalink") 您的項目可以使用許多[API](../../api/README.html) : * [Badges](../../api/project_badges.html) * [Clusters](../../api/project_clusters.html) * [Threads](../../api/discussions.html) * [General](../../api/projects.html) * [Import/export](../../api/project_import_export.html) * [Issue Board](../../api/boards.html) * [Labels](../../api/labels.html) * [Markdown](../../api/markdown.html) * [Merge Requests](../../api/merge_requests.html) * [Milestones](../../api/milestones.html) * [Services](../../api/services.html) * [Snippets](../../api/project_snippets.html) * [Templates](../../api/project_templates.html) * [Traffic](../../api/project_statistics.html) * [Variables](../../api/project_level_variables.html) * [Aliases](../../api/project_aliases.html)
                  <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>

                              哎呀哎呀视频在线观看