Overview
In this article, we will talk how we can create a project using VSTS (Visual Studio Team Service).
We will cover the following topics in this article.
- Creating Project in VSTS
- Cloning Project using Tortoise GIT
- Push Files to VSTS project
- Overview of Dashboard in VSTS
So, let’s get started!
Creating Project in VSTS
- Login with VSTS using your Personal or Work account.
https://www.visualstudio.com/team-services/ - Click on "Create Account".
- Give URL of your project.Ex: We give URL of Project “csharpcornerblogs”.Choose to manage code using “GIT”.Click "Continue".
- Your first project has been created successfully.
- Copy the URL to clone the project.
Clone the Project Using Tortoise GIT
- Download and install Tortoise Git using below URL.
https://tortoisegit.org/download/ - Now, right-click on File System > Click Git Clone.
- In URL = Paste Copied URLCheck the Checkbox for Recursive.Click on OK.
- Enter credential for VSTS Account.
- It will show cloning Process.
- Once Cloning has been successful, it will prompt this message.
- Cloning has been created successfully.
- Add the files to this created Project.
Push Files to VSTS Project.
- First, we will need to Add Files to Git.
- Right-click on a project folder that we have cloned > Tortoise git > Add.
- Select All Files and Click on Add.
- Once Files are Added, it asks to Commit Files. Click on Commit button
- Enter Commit Message > Click on Commit
- Now, Click on Push button to Push Files.
Overview of Dashboard in VSTS
- We can see the following Dashboard on VSTS.
- Now, click on Code. It will show all Projects and Content.
- When we click on “Commit”, it will show all committed files.
- When we click on “Pushes”, it will show all Pushed files.
- “Branches” will show all the branches.
Conclusion
This is how we can prepare a project in VSTS and clone the project, add files to project, commit files and push the files to GIT.
Comments
Post a Comment