Weekly #4
Weekly round-up of Ruby and Rails related news and articles.
Code in Design is the personal website of William Notowidagdo, where he blogs, infrequently, on various web development geekery. He works for Kiranatama, a Ruby on Rails outsourcing company.
Weekly round-up of Ruby and Rails related news and articles.
Weekly round-up of Ruby and Rails related news and articles.
Weekly round-up of Ruby and Rails related news and articles.
Weekly round-up of Ruby and Rails related news and articles.
Here’s how
require 'tmpdir'
puts Dir.tmpdir
Delete the .git directory locally
Recreate the git repostory
git init
touch .gitignore
git add .gitignore
git commit -m 'Initial commit'
Push to remote server, overwriting
git remote add origin <url>
git push --force origin master
Create a new empty branch named “your-new-branch”, clean up, add .gitignore and commit.
git symbolic-ref HEAD refs/heads/your-new-branch
rm .git/index
git clean -fdx
touch .gitignore
git add .gitignore
git commit -m 'Initial commit'
Why can’t I remember this?
$ sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev
$ gem install rmagick
How to merge branch back into trunk
$ cd /path/to/trunk
$ svn merge --reintegrate http://example.com/path/to/branch