Home > Uncategorized > Import a local repository into Bitbucket

Import a local repository into Bitbucket

Personal notes. Might help someone else though.

  1. Start up a virtual server on your router:
    1. Get address of router; run ipconfig.exe and look at standard gateway. Mine is 192.168.0.1.
    2. Open a web browser and surf to http://192.168.0.1 (or what ever the address of the router was)
    3. Login as administator
    4. Click advanced and create a virtual server. Select port 8000 which is default for tortoise hg web servers (see below).
  2. Start up your tortoise hg web server, simply by right click in windows explorer in your repository and select web server.
  3. Get your public ip; i.e. surf to http://www.ip-adress.com/
  4. Login to bitbucket and select import repository. Use url http://{public-ip}:8000.

When all is done you may want to disable the virtual server again.

Advertisements
Categories: Uncategorized
  1. January 30, 2014 at 2:03 am

    Considering beginning my own little company blog for stuff like this,
    its my initial one though so would you recommend WordPress
    or Blogspot?

    • February 5, 2014 at 8:17 pm

      WordPress got everything I need (which actually is not that much). I have not tried Blogspot but my guess is that it works too. Good luck with your blogging!

  2. June 22, 2016 at 5:08 am

    Thank you, codecontemplator, this was very helpful in getting my local Hg repo imported to bitbucket. Thanks for the share!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: