- An Account in BitBucket.org
- Install Mercurial from here
How to get the Code
Use the below command to get the source to your local.
$ hg clone https://USERID@bitbucket.org/REPOPATH/
How to make changes
Once you have the code on you local computer. You are free to make changes. And once in a while if you want to commit your changes then use the below command to commit to the local repository.
$ hg commit -m "comments" -u USERID
Remember: The above commit is local only. It will not be reflected in the bitbucket repository.
To publish you changes for everyone to see, use push command.
$ hg push
How to get changes from remote repo
To get changes made in Remote(bitbucket) to local repository.
$ hg pull
$ hg merge tip
For more detailed guide see here.
Have fun!
No comments:
Post a Comment