Tuesday, November 27, 2012

Always check in schema.rb

I was unsure whether schema.rb should be checkin or it is something which is created automatically while running project. But find out that it should be check in to your repository.

More Information always-check-in-schema-rb

Saturday, November 24, 2012

master branch and 'origin/master' have diverged, GitHub

Struggling with above error while getting latest everytime?

use this command to get latest from the master branch: git reset --hard origin/master

The following untracked working tree files would be overwritten by checkout, github

In case you're struggling with this error while getting latest (push) from the repo or trying to merge existing changes then use following command:

git clean  -d  -fx ""


it will delete untracked files. Also the following link has good explanation of couple of useful git commands.

Source: Stackoverflow: error-the-following-untracked-working-tree-files

Wednesday, November 21, 2012

Various database management systems

Like this guy over stackoverflow (Stackoverflow question) even I was trying to understand the difference among various database available across industry.

As suggested, wikipedia has done nice job in explaining it clearly Comparison of relational database management systems.