Wednesday, 25. June 2008, 21:37:24
git
You made a mistake? No problem, with Git you can rewrite history!
I made a mistake in my last commit and I figured that out too late. Well, not late enough, because thanks to git I was able to amend my last commit with whatever new changes I wanted and git's commit history appeared as if the mistake was never there.
Here is how it works.
You commit and then you figure out you made a mistake, maybe a mispelled word in your commit message or even a programming error, whatever. So you change whatever you want, add the relevant stuff to your index with "git add" and then
$ git commit --amend
which opens your editor with the message of your last commit pre-loaded, which you can edit if you need and then save it. That's it. Your new changes will appear as if they were always there on that last commit, no new commits in your history with the fixes of your mistakes.
I LOVE GIT!!!
Tuesday, 17. June 2008, 17:53:56
browsers, git, rails, linux
...
I don't know really how to start this as I've been absent for so long, but I guess I don't need to get a lot into it. I'm back and that's it. The main problem for me is time, but I've been missing writing here a lot. Mostly because a blog like this is more for me than for the casual reader that might stop back. I am venturing myself in lots of new projects and experiences and I am constantly doing research and documenting my progress and stuff in a place like this serves me as a back reference in the future, but it might also be of some use to someone stopping by.
After all this time my interests haven't changed a lot. I'm now working mostly on
Ubuntu Linux developing
Ruby on Rails applications using also
Git as my source-code management system. So that's what I'll be talking about here mostly on the technical side, which does not preclude getting away from these subjects every once in a while.
Regarding Opera, I must say that it gained me back after flirting with Firefox for some time. But finally the speed made me turn back. Firefox is so damn slooooooooooow I cannot even imagine how people use it anymore. It has become slower and using more memory than ever before. Opening a new tab freezes it for a few seconds, which is not tolerable. Coincidentally today they release the version 3, which I've been testing for a while in its beta and RC forms but it is still the same. The only thing that keeps me using Firefox is for web development, because Opera really lacks a
Firebug killer (don't tell me it's
dragonfly because it isn't, although it can be in the future).
And back to Opera, kudos for Opera 9.5!!! Firebug appart, Opera is still the great choice! Damn Google for not giving first class support for its fantastic web applications on Opera (read Google Docs and Spreadsheets, Gmail, Google Reader, etc.) but they are mostly usable anyway, and the advantages of using Opera really outweight the need to use Google Apps. I hope they are listening.
Well, that's it for the moment. I hope not to let this blog down this time, at least for a while.