Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Use these APIs to work with Git repositories in Azure DevOps Services. Repositories contain objects representing core Git concepts:
- blobs (files)
- trees (folders)
- commits
- refs (branches, lightweight tags)
and other resources that represent the history of those items or act on their state.
There are code samples available for this area.
Common tasks
- Git Repositories
- Get a list of repositories in a team project.
- Add a repository to a team project.
- Delete a repository from a team project.
- Pull Requests
- Commits
- Get a list of commits
- Refs (branches and tags)
- Get all branches.
- Create, update, or delete a branch.
- Pushes
- Get a list of pushes.
- Create a branch (Create a push/initial commit)