Visual Studio and BitBucket Git repo

I had existing code I wanted to add to a repo

  • Create repo at bitbucket
  • Open command line to directory above where you want the local repo
  • run: git clone
  • this will output: “Cloning into ‘path-to-your-git’…
    warning: You appear to have cloned an empty repository.”
  • Then copy your files into the newly created directory
  • In Team Explorer see that you’re connected to the correct local repo
  • Commit changes and push

Ensure you have a copy of .gtignore to avoid checking in visual studio files. See here for more info

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.