Monthly Archives: May 2011

You are browsing the site archives by month.

Git diff not very clear

From time to time I have to mess in code that I haven’t written. Some of those other developers don’t trim whitespaces or blank lines which makes my git diff look kinda messy. There’s a solution for this.

‘git diff’

‘git diff –ignore-space-change’

MySQL command line import

I always seem to forget the right command.

mysql -uroot -proot databaseName < /location/to/my/file.sql