Skip to content

Commit

Permalink
Added git config commands to set default branch for remotes to develo…
Browse files Browse the repository at this point in the history
…p and master on the respective branches
  • Loading branch information
amasses committed Nov 6, 2011
1 parent cd0b472 commit a4c491e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Rakefile
Expand Up @@ -53,6 +53,10 @@ task :install do
`mv "$HOME/.#{file}" "$HOME/.#{file}.backup"` if backup || backup_all
end
`ln -s "$PWD/#{linkable}" "#{target}"`
`git config --global branch.master.merge refs/heads/master`
`git config --global branch.master.remote origin`
`git config --global branch.develop.merge refs/heads/develop`
`git config --global branch.develop.remote origin`
end
end

Expand All @@ -71,4 +75,4 @@ task :uninstall do
end
end
end
task :default => 'install'
task :default => 'install'

0 comments on commit a4c491e

Please sign in to comment.