Pre-requisites:
- Eclipse Indigo
- GiT for Windows
- An account at bitbucket.org
Step 1: Setup Git
Download msysgit and install it.
Setup Git to use the SSH protocol. Using SSH is much better than the HTTPS access, since you don’t have to enter your password every now and then.
Step 2: Create a new repository in bitbucket
Step 3: Create a new project in Eclipse
Step 4: push the new project up to the bitbucket repository.
Open a Git Bash command prompt. Change the working directory to the location of the new project:
cd Projects/workspace-test/AndroidTest/
Initilize git:
$git init
$git add *
$git commit –m “Initial commit”
$git remote add origin [email protected]:InsomniacGeek/androidtest.git
$git push origin master