I have a local git repository, I see that I can move other "hosted" repositories to Bitbucket, but how do I do it with one only on my local hard drive?
You simply create an empty repository with the desired name on the bitbucket server. This empty repository has an URL to be addressed (for example using either git- or http(s)-protocol)
After having this URL you go to your local repository and add this newly created bitbucket-repository via commandline (or within the GUI of your flavor) as a remote repository, for example:
git remote add origin ***YOUR_URL***
Then you can make a simple:
git push origin master
That's it ...
Or did I misunderstood your question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.