当我尝试在Windows上使用GIT Bash来提取代码时,我遇到以下问题
我已经尝试实现此处提供的已接受解决方案:
但问题仍然存在.添加/删除原点后,我仍然得到相同的错误.
fatal: could not read Username for 'https://github.com': No such file or directory
Run Code Online (Sandbox Code Playgroud) 我已经使用github和capistrano将我的Rails 4应用程序部署到Rackspace几周了.一切正常,直到我最终使我的存储库私有化.现在,我在运行'cap deploy'后收到以下错误:
"致命:无法读取' https://username@github.com '的密码:没有这样的设备或地址"
以下是我的deploy.rb文件中的代码
set :application, "appname"
set :repository, "https://git_username@github.com/git_username/appname.git"
set :scm, :git
set :scm_username, "git_username"
set :scm_passphrase, "git_password"
set :scm_command, "git"
set :keep_releases, 5
set :branch, "master"
set :rails_env, "production"
set :deploy_to, "/var/www/doLocal"
set :user, "deployer"
set :password, "deployer_password"
set :use_sudo, false
ssh_options[:forward_agent] = true
server "/path/to/server", :app, :web, :db, :primary => true
after "deploy:restart", "deploy:cleanup"
namespace :deploy do
task :start do ; end
task :stop do ; end
task :restart, :roles => :app, :except => …Run Code Online (Sandbox Code Playgroud) 我刚刚从Git 1.7.11更新到1.8.5
现在,当我尝试推送到bitbucket时,我收到以下消息:
致命:无法读取" https://xxxxxx@bitbucket.org "的密码:没有这样的文件或目录
其中xxxxx是我的用户名.
推动仍在1.7的其他机器正常工作.
是什么导致这种情况,我该如何解决?