source control online with bitbucket.org and Mercurial

Posted: March 13, 2013 in mobile

time to stop using dropbox to save code. its crappy and i need to keep zip files with previous versions.
Its time to go source controlled.
A friend recommended bitbucket.org so i tried it and really after a few bumps everything worked 100%.
happy happy

links:
http://zagar.biz/2012/up-and-running-with-mercurial-and-bitbucket/

Notes:

1. download mercurial
2. than go in CMD one folder above your existing code (make sure the folder is named same as your project)
in CMD write

hg init <folder_name>

2.5 create a repository on bitBucket.org with the same name

3. later, i open “windows explorer” and right click on the very same folder and click “HG commit”
than i choose the files to add to my stream. Click “commit”
4. and than I use the “hg push” command to push it online to bitbucket.
for example

hg push https://<your_uname>@bitbucket.org/<your_uname>/<your_proj&gt;

works g8!!

Advertisements

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