跳到主要內容

已不再支援此瀏覽器。

請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。

下載 Microsoft Edge Internet Explorer 和 Microsoft Edge 的詳細資訊
閱讀英文

共用方式為

Facebook x.com LinkedIn 電子郵件

Git documentation

Collaborate on code development using Git public and private repositories, pull requests, and code review.

About Git

Overview

  • What is Azure Repos?
  • Connect to a project or repository
  • Authentication

Get started with Git or GitHub and Visual Studio 2017

Tutorial

  • Create a new repo
  • Clone an existing repo
  • Commit, share, and sync your code
  • Share your code with Visual Studio
  • Update code with fetch and pull

Work from different IDEs

How-To Guide

  • New Git experience in Visual Studio 2019
  • Create repo - Visual Studio
  • Create repo - IntelliJ
  • Create repo - Eclipse
  • Create repo - Xcode

Key concepts

Concept

  • Branches & branch policies
  • Branch organization
  • Forks
  • History
  • Pull requests

Set up your Azure Repos Git repositories

How-To Guide

  • Improve code quality with branch policies
  • Set up credential manager
  • Use SSH key authentication

Configure resources

How-To Guide

  • Configure repository settings
  • Manage Git branch policies
  • Manage repository permissions
  • Set branch permissions

Reference

Reference

  • Git command reference
  • Git REST API
zh-tw
您的隱私權選擇
  • AI 免責聲明
  • 舊版本
  • 部落格
  • 參與
  • 隱私權
  • 使用規定
  • 商標
  • © Microsoft 2025