跳转至主内容

此浏览器不再受支持。

请升级到 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-cn
你的隐私选择
  • AI Disclaimer
  • 早期版本
  • 博客
  • 参与
  • 隐私
  • 使用条款
  • 商标
  • © Microsoft 2025