Checkout the Previous Branch with git
Command line shortcuts are can be a huge time saver, which is why I like creating bash aliases and and enjoy other tricks I've found. I do have a list of tasks I don't yet have a shortcut for, like easy switching between my current branch and the previous branch. I have to do this often when I update master via remote pull and then rebasing a feature branch, and since many of my branch names include a hard to remember bug number, switching between branches is a pain.
I recently found out that you can switch the the previous branch you were on using the following command:
git checkout master
# Do whatever
git pull remote master
# Go back to the previous branch
git checkout -
- references the previous branch name, thus allowing you to navigate branches with ease!
CSS filter support recently landed within WebKit nightlies. CSS filters provide a method for modifying the rendering of a basic DOM element, image, or video. CSS filters allow for blurring, warping, and modifying the color intensity of elements. Let's have...
The lightbox is probably one of my favorite parts of the Web 2.0 revolution. No more having to open new windows (which can bog down your computer quite a bit) to see a larger image, video, etc. Instead, the item loads right into the...
I get quite a few support requests for my previous MooTools SmoothScroll article and the issue usually boils down to the fact that SmoothScroll has become Fx.SmoothScroll. Here's a simple usage of Fx.SmoothScroll.
The only HTML requirement for Fx.SmoothScroll is that all named...