dinsdag 15 maart 2016

Visual Studio & Git & BitBucket: how to get started

I am not very knowledgeable when it comes to version control systems (something I really have to develop myself further in), but luckily many tools work pretty well out of the box. A very simple way to get started with VCS is to use Visual Studio's built-in-Git with BitBucket.

HOW TO:

  • Create a new empty repository in BitBucket
  • Create your to-be-version-controlled project in Visual Studio
  • Add the project to version control and choose 'Git'
  • Go to Team Explorer
    • Go to 'Changes'
    • Type 'initial commit' in the textbox
    • Click to the 'Commit' button
      • Choose 'Commit and push'
    • VS will give an error message that no remote repository is linked to the project
      • In that same error-message-screen will be a textbox where you can add the url of the remote repo.
      • Copy-paste there the URL to your BitBucket repo and...
    • Done!

Geen opmerkingen:

Een reactie posten