Azure Devops - Create Organization and add dotnet project to the Azure Devops repository.
Go to https://dev.azure.com/. Sign in with your credentials.
Click on the link New Organization.
Provide the name of the organization. I have given TechGeekGen-Z. Press Continue.
This screen will appear for few mins. Devops Organization will be created after this.
Create a Project in the newly created Devops Organization.
Choose Private if you want your project to be used only by the people you give access to otherwise choose Public. I am choosing Private here. Click on Create Project.
The Project is created successfully.
copy the highlighted command for pushing the origin on git as it contains origin url. This origin url will be used further.
Now, we have to add the code in Azure Devops repository. Let's assume we already have some .net project/POC code already on our machine. Let' see, how we add this to Azure Devops repository.
First of all, we have to create an account on Git. Download Git for Windows. I have installed 64 bit. version.
Execute these commands in terminal.
Install Git on machine. Go to parent Folder where code exists on machine (C:\source). Right Click and open Terminal from this folder. Check git is installed properly by writing git. If git is understood as command by the terminal and it shows help section than it means git has installed properly.
git init
git add .
git commit -m "first commit"
git branch -M main
git remote add origin origin url (Command copied above in the empty repository)
git push -u origin --all
We will learn in next article, how to create pipeline on this project.
Keep Learning and Keep Growing.
Comments
Post a Comment