Simply Notes #1: Setting up Source control with BitBucket using Git
Bitbucket lets you create free unlimited private repositories. Here are the simple steps to setup a project and push it to Cloud.
- Get this awesome native app for Git from here
- Now create a Repository on Bitbucket
- Open up Git Shell and enter these simple commands
> cd /working project folder
> git init
> git remote add origin https://email@example.com/username/reponame.git
Note: If that above command says remote origin already exists try this below command
> git remote set-url origin https://firstname.lastname@example.org/username/reponame.git
> git add .
> git commit -m "first commit"
> git push -u origin --all
- DONE!!! your code on cloud.
For reference on what each command does this is the place to go.