How can I indicate the Git username and password in Capistrano's deploy.rb?
问题 I'm using github to store the repository, and I'm reading Deploy with Capistrano: Remote caching will keep a local git repo on the server you’re deploying to and simply run a fetch from that rather than an entire clone". Since the server where I'm deploying is "my" shared host , I must have git installed there. When we do that, we normally define a git username and git password. Where should we place those on this deploy.rb file? So far I have: set :application, "mysite.dev" set :user,