Archive for April, 2010
Compile Vim in Snow Leopard
./configure –enable-pythoninterp –with-macsdk=10.6
Git: Start a new branch after making changes
Sometimes I realize that my latest changes actually should belong to another branch than the one I’m currently working on. The easy way to add the changes to a new branch is to use the stash command.
[… changes …] git stash git stash branch name_of_new_branch git commit […] git push origin name_of_new_branch
Ref. git stash.