- 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:
$git add *
$git commit –m “Initial commit”
$git remote add origin [email protected]:InsomniacGeek/androidtest.git
$git push origin master
2 thoughts to “How to create a new Eclipse project and push it to a new Git enabled bitbucket repository”
Thanks a lot.It was really useful.
Very useful, thank you very much