Skip to content

Instantly share code, notes, and snippets.

@rishav
Created March 12, 2011 02:37
Show Gist options
  • Select an option

  • Save rishav/866979 to your computer and use it in GitHub Desktop.

Select an option

Save rishav/866979 to your computer and use it in GitHub Desktop.
namespace :deploy do
task :fast do
run "cd #{current_path} && git pull origin #{branch} && touch #{current_path}/tmp/restart.txt; true"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment