March 2010
4 posts
(Free EP) The Sight Below presents No Place For Us... →
Ähnlich wie Gas nur aus Seattle statt Köln. (via kabbb)
1 tag
Album of the week: Fucked Up - The Chemistry Of... →
Punk und so.
Rails 3 (beta) generators: use...
In your application.rb:
config.generators do |g| g.test_framework :test_unit, :fixture => true, :fixture_replacement => :factory_girl end
recovering a deleted branch using git reflog
So after finishing something on a topic branch called “gamelan”, i wanted to switch back to the master branch, so this is what i just did:
$ git checkout master $ git branch -D gamelan
Shoot! Now in a i just deleted the branch without merging it beforehand. (Why, but why!?). Fortunatly Git has some divine powers which can help you recover. Git records your changes in a log, which you...