Git with VSTS - Part 2- Git Repo
Depending upon the requirement you can have one or more repo inside your project. You can create repos by using
1. Web (VSTS)
2. CLI
3. Visual Studio
4. IntelliJ
5. Xcode
6. Eclipse
Create repo using Web
Navigate to code section -> click on project -> New repository
Add a .gitignore file
A new empty git repo is now created in your team project.
Create local repo using CLI
- [Download git for Windows] (https://git-scm.com/download/win)
- Open git bash or git cmd. Navigate to path where you would like to create repo.
git init .
Cloning Repo
Get remote repo URL
Use following cmd to clone remote repo
git remote add origin <<URL>>
See git related post for workflow, branches, authentication and pull request.
Please do let me know your thoughts/ suggestions/ question in disqus section.
Related Posts
- Manage Azure DevOps Pipelines Variables
- VSTS Extension - SOAP UI Test
- VSTS Build and Release Agents
- People, Process, Product - DevOps - Build & Release
- IaC Deployment using VSTS Release and GitRepo
About Ajeet Chouksey

Ajeet Chouksey
Subscribe via Email
Recent Posts