728*90 add style for blog

Saturday, April 4, 2015

Install Bitbucket source tree in MAC OS

Hi I'm sharing how to install Sourcetree with maricural support to get the clone of your bitbucket copy code

  1. Check for Github install in MAC ,by default it will be there but you can check from following command
    1. git --version
      1. Required O/p : git version 1.8.1.3
    2. Configure your global username using the following command:
      • git config --global user.name "FIRST_NAME LAST_NAME"
    3. Configure your global email address using the following command:
    4. Install Mercurial
      1. Make sure you have root access (sudo) on the system where you want to install Mercurial
      2. Download and install
      3. Verify the installation was successful by typing the following at the command line.
      4. hg --version [you will see below output ]
        • Mercurial Distributed SCM (version 3.3.1+20150311)
          (see http://mercurial.selenic.com for more information)
          Copyright (C) 2005-2014 Matt Mackall and others
          This is free software; see the source for copying conditions. There is NO
          warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      5. Determine if you already have a ~/.hgrc file in your environment by entering the following at the command line:
      6. If you get "No such file or directory" then create it by following command
      7. ls ~/.hgrc
      8. Done !!
Now you can use the generated url from bitbucket and use it in Terminal, now you should not get any error of HG command
  1. hg clone https://YOUR-USER-NAME@bitbucket.org/avaiyakirtib/Exampleapp
  2. You will need to ask for password and go on
  3. Done!!


No comments:

Post a Comment