Skip to main content


Showing posts from December, 2014

Using GIT with BitBucket (or any other remote repository)

It is quite simple. Follow this link to install and setup GIT:
Do not create a new repository in BitBucket, as we already have couple of repositories. Do your operations on any of the two existing repositories.
How to use the GIT UI:
After cloning ‘web-app’ repository I get the ‘web-app’ folder on my machine. Initially it is empty since there is no source code. I added a file ‘Read Me.txt’

If I right-click on the file and select ‘Git GUI’. It will prompt me to select between ‘Creating a new repository’, ‘Importing/Cloning a new repository’, ‘Opening an existing repository’.
Since we already have a repository created, select ‘Opening an existing repository’. Give the directory of ‘web-app’ folder (the folder which contains .git file).
In GIT, checkin is a 2-step process: We need to add file to staging area and then add to commit.

Select the ‘Read Me.txt’:
Select Commit->Stage to Commit:

Give a commit message:

This will commit t…