Monthly Archives: October 2012

mkdir recursive

mkdir -p /your/long/path

Fix *** [err :: 11.15.19.46] find: `/path/to/your/releases/RELEASE_NUMBER/public/images’ (capistrano)

add this line to deploy.rb

set :normalize_asset_timestamps, false

GIT diff between files in different commit

git diff START_COMMIT..END_COMMIT -- path/to/your/file

Create local branch from remote branch (GIT)

git checkout -b BRANCH_NAME origin/BRANCH_NAME

or

git fetch origin origin/BRANCH_NAME:BRANCH_NAME
Page 1 of 11