How to:
- Create an account at BitBucket - this should speak for itself
- Create an EMPTY Git repository on your BitBucket account
- Go to the empty repsository at BitBucket and...
- click 'Clone'
- A popup will appear containing text starting with "git clone"
- Copy all text MINUS "git clone" to the clipboard
- Create a new project (optionally with initial code) in Visual Studio
- Add the project to Source Control in Visual Studio (if necessary)
- Commit the project
- You'll get an error message that the project wasn't added to a remote repository and a screen with an option to provide the URL of the remote repo
- Paste the clipboard into the URL field
- Click the obvious button and...
- DONE :-)
Definitely can be done neater, but this works.
Geen opmerkingen:
Een reactie posten