Step 1 - Install Git
- SmartGit comes with special integrations for GitHub, BitBucket and BitBucket Server (former Atlassian Stash) to create and resolve Pull Requests and Review Comments. Of course, you can use SmartGit like any other Git client with your own Git repositories or other hosting providers (e.g.
- Make Bitbucket your Git sandbox with tutorials that bring you up to speed with Git and help you build effective workflows. Learn more Download Sourcetree, our free Git GUI.
- Follow the links below to download the appropriate version for your computer. Windows (64-bit) - Version 1.27 Released Mac OS X (64-bit) - Version 1.27 Released.
You can use Git from the command line or you can use one ofseveral GUI-based tools such as Sourcetree. These instructionsassume you are using Git from the command-line.
I am looking to integrate VSFM with bitbucket. I know there is a marketplace addon for the Windows version but I cannot find one for the MAC. I see it has GIT integration built in but I prefer Bitbucket. I have just bought a MAC to do some iOS/Droid phone/tablet development and it would be good to a. Clone in Xcode directly from Bitbucket Server. When viewing a repository which has an Xcode project or workspace from a Mac, users will see a new 'Clone in Xcode' link on the clone dialog which allows them to directly open the project/workspace in Xcode.
- Make sure you have root access (sudo) on the system where youwant to install Git.
- Download the Gitinstaller from its official website.
The installer is a DMG file. - Double-click the DMG to expand it.
- Double-click the PKG file to install it.
The Git installer launches. - Follow the prompts to install Git.
- Open a terminal on your system.
- Verify the installation was successful by typing whichgit at the command line.
- Configure your global username using the following command:
- Configure your global email address using the followingcommand:
git config --global user.email '<ahref='mailto:[email protected]'>[email protected]</a>'
Git uses the global email address for all your commits. Also, youcan set this value per repository (you'll learn more about thislater).
Step 2 - (Optional) Install the git-credential-osxkeychainhelper
Bitbucket supports pushing and pulling over HTTP to your remoteGit repositories on Bitbucket. Every time you interact with theremote repository, you must supply a username/password combination.Instead of supplying the combination with every HTTP call, you canstore these credentials in your OSX keychain provided you have thegit-credential-osxkeychain helper added toGit.
The helper asks for your username/password on the first Gitoperation and then stores the credential. Future operations won'trequire you to supply a username/password combination. To installthe helper, open a terminal window on your local system and do thefollowing:
- Check if you have the helper installed by determining if youget a usage statement for it.If you receive a usage statement, skip to Step 5. If the helper is not installed, go to the nextstep.
- Download the git-credential-osxkeychain softwareto your source with curl;This command downloads the source to a local file calledgit-credential-osxkeychain. If you don't have curlinstalled you can use this link.
- Move the file to the /usr/local/bin directory.
- Make the file an executable:
- Configure git to use the helper.
Step 3 - Install Mercurial
You can use Mercurial from the command line or you can use oneof several GUI-based tools such as Sourcetree. These instructionsassume you are using Mercurial from the command-line.
- Make sure you have root access (sudo) on the system where youwant to install Mercurial.
- Download the Mercurialinstaller from its official website.
The installer is contained in ZIP file. - Double-click the ZIP file to expand it.
- Double-click the MPKG file to run the installer.
- Follow the prompts to complete the installation.
- Open a terminal window.
- Verify the installation was successful by typing the followingat the command line.Hg is the chemical symbol for Mercury and hg is thecommand for mercurial.
- Determine if you already have a ~/.hgrc file inyour environment by entering the following at the command line:If for some reason, you don't have the .hgrc file,you should create one yourself using the touch command:IconFiles that start with a . (period) are hidden files in Mac OSX.By default, the Finder does not show hidden files. There areseveraltutorialsthat show how to show hidden files in finder.
- Open the Mercurial configuration file ~/.hgrcusing your favorite editor.
- Add a username value to the configuration.When you are done, the ~/.hgrc file looks somethinglike this:This is default value Mercurial uses, you can also set this forspecific repositories (you'll learn more about this later).
- Save and close the .hgrc file.
We’re pleased to announce that SourceTree for Mac 1.6 beta is now available to download!
We’ll be running the beta for a little while to collect feedback and we’d love to know what you think. Here’s an overview of some of the great features in this version:
Interactive Rebase
The git rebase –interactive command allows you to reorganise your commits after you’ve created them (but before you’ve made them public), and now you can do this inside SourceTree. Combine (squash) multiple commits together, or re-order them, simply by dragging & dropping. You can also change the commit message, or edit the content of the commits. Just right-click on a commit in the log and choose ‘Rebase children of <sha> interactively’ to kick the process off.
Notifications are Here
Now when there’s new commits to pull into your repository you don’t have to take a look at your repository window to find out – SourceTree will raise a notification to let you know, either a native Mountain Lion notification or via Growl.
Atlassian ID Integration
Previously, in order to register with Atlassian, you had to go to our website and download your license file to be imported into SourceTree. Now you can register seamlessly right from within the product itself.
Icon Refresh
Download File From Bitbucket
Our designer gave us a treat with a new icon set making the user interface look even more satisfying!
And lots more…
- You can now “Log Selected” on multiple files at once
- The push sheet in Mercurial shows what branch you’re pushing to
- Preference added to make the pull count reflect the branch you’ve currently got checked out
- Git repositories now remember what options were previously selected in the pull/merge sheets
- The latest Araxis diff/merge tools are now supported
- The “commit merged changes immediately” option is now remembered between pulls
- Longer passwords supported for integrating with Bitbucket, Stash, Kiln, and GitHub
Bitbucket Client Download
Check out the release notes for more information.