It will give the instructions how to connect the remote repository and make the initial push. Once we give it a name click the option "I have an existing project to push up". Steps below you will do for every single application when you're getting started. If in doubt check the video above.Īll the steps above you only need to do once. Go to SSH Keys and add new key for the computer you're currently working on. *Note: if you are in China, make sure to turn off your VPN when creating your account.Īfter you confirm your account head to the account settings. #it now sits in your clipboard so you can paste it wherever you want. Your identification has been saved in /Users/lukasz/.ssh/id_rsa. If you're on Mavericks, you can simply run one command and press "ENTER" until you're done (it will use default settings and no password for your key - it's still going to be secure if you don't share your computer)Įnter file in which to save the key (/Users/lukasz/.ssh/id_rsa):Įnter passphrase (empty for no passphrase): Good instruction for Mac and Linux can be found at this address. We will also need it to deploy our application to the server. SSH key will be used by bitbucket to securely connect with you. Most of the work you only need to do once. The process of setting up a remote repository for the first time is a little complicated but don't worry. We will use Bitbucket because it allows us to create private repositories for free. We will assume that the address to this folder is 'C:ProjectsGit' where you will create your Git projects. The two most commonly used platforms are Github and Bitbucket. Create a new folder in your Windows file explorer. We do it because it will serve as a backup and it will make it easier for other developers to collaborate with us. Remote means that the repository will be saved on the server in the cloud (the internet). In order to be able to leverage git and collaborate with other developers we will need to use "remote" git repository. This tutorial assumes you have already completed: