it:ad:visual_studio:sc:git:create_a_repository

IT:AD:Visual Studio:SC:Git:Create a Repository

Summary

You can either create a new solution, turn it into a local repo, and sync it to remote BB or GitHub one, or create one on BB, and download it, then open it.

Either way, you are setting the repo's source.

Create a Repo locally, and connect it to a BB repo

Open a Command Prompt in the solution folder, turn it into a repo, and set it's Origin to the remote BB directory

git init
git remote add origin https://xact@bitbucket.org/xact/gittest.git
Note: you can't set it twice...

#### Create a Repo on BB, and Download it

Otherwise

  • /home/skysigal/public_html/data/pages/it/ad/visual_studio/sc/git/create_a_repository.txt
  • Last modified: 2023/11/04 23:22
  • by 127.0.0.1