If this is your first use of Git, you possibly are forced to enter some personal details. I will now commit the complete Visual Studio project with all containing files to Git. This is used for the Git repository management. One important thing to know: In the background, a folder with the name “.git” is created on the Visual Studio solution folder. If you miss to activate this checkbox, you can add your solution to source control later. Everything will be source controlled locally on my machine in a first step. This means that I need to install “Git for Windows” on my dev machine and create a local Git repository. I check “Add to source control” which gives me two option for source control: TFS or Git. In this example I create a project for a “Azure Resource Manager” template, gut it could be anything you like. Now I start Visual Studio on my dev machine and create a new project. The installation is straightforward.Ĭonfigure Visual Studio for Git Source Control It can be downloaded from the appropriate website. On my dev machine I need to install “Git for Windows”. That’s it from the GitHub side, job done. It’s important to understand this difference for the walkthrough in this blog post.įirst of all I will create a new repository in GitHub. Your code can be shared with others and they can even contribute to your code. GitHub on the other hand is a web-based platform to manage Git repositories and branches. These concepts can be used create copies/snapshot of your code and allow you to go back in time to access older versions of your code. Git is a source control management system that works with repositories and branches. So I will keep this part very short, but it’s important to understand the content of this blog post. In case you need more information, the internet is full of it. This article walks you through the process of enabling GitHub as a source control platform for you Visual Studio projects.īefore we get started: Git vs. Another tool IT Pros (like myself) use more and more is Visual Studio. In my last post I explained how you can use GitHub as a platform for Azure Automation runbook versioning and source control.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |