Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Commit

Permalink
--shared is now false by default in deploy setup
Browse files Browse the repository at this point in the history
Most deploys are done with a dedicated user, so we will avoid messing
around with permissions and the sticky bit if not needed. People who are
deploying in a shared environment (multiple deploying users) should pass
`--shared` explicitly during setup.

Fixes #25
  • Loading branch information
mislav committed Jul 11, 2013
1 parent fc1e0a5 commit 27cb914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git_deploy.rb
Expand Up @@ -20,7 +20,7 @@ def init
end

desc "setup", "Create the remote git repository and install push hooks for it"
method_option :shared, :aliases => '-g', :type => :boolean, :default => true
method_option :shared, :aliases => '-g', :type => :boolean, :default => false
method_option :sudo, :aliases => '-s', :type => :boolean, :default => false
def setup
sudo = options.sudo? ? "#{sudo_cmd} " : ''
Expand Down

0 comments on commit 27cb914

Please sign in to comment.