https://bitbucket.org
Getting Started with Bitbucket Cloud
Tutorial: Learn Bitbucket with Git
Other Git for Windows downloads
Git for Windows Setup
Git for Windows Portable ("thumbdrive edition")
32-bit Git for Windows Portable.
64-bit Git for Windows Portable.
Step 1. Install Git
Enter git --version
at the command line to check if you already have Git installed.
Depending on your operating system:
- For Windows: Download the Git installer. To open a command window, go to Git Bash.vbs from the Git folder of the Programs directory.
- For Mac: Download the Git installer. To open a command window, search for the Terminal.
- For Linux: Enter
sudo apt-get install git
at the command line. To verify installation was successful, enterwhich git
.
Step 2. Update your configuration file
When you install Git, it comes with a configuration file that you update with your personal settings from a command window.
-
Enter the following command to configure your username, replacing Emma's name with your own. (Copy and paste the line after the
$
and press enter.)$ git config --global user.name "Emma Paris"
-
Enter the following command to configure your email address, replacing Emma's email address with your own.
$ git config --global user.email "eparis@atlassian.com"
-
Configure Git to handle line endings properly so that Bitbucket doesn't think files have changed when the actual content hasn't changed. We recommend this setting if you're collaborating on repositories with others who have different operating systems.
For Windows
$ git config --global core.autocrlf true
For Mac and Linux
$ git config --global core.autocrlf input
- Log in to post comments