小编har*_*ill的帖子

无法更改git remote origin

有人可以解释为什么git remote origin无法从livepost.git更改为Europeanexplorer.git吗?我尝试按照说明进行操作,但是文档指出这error: Could not remove config section 'remote.origin'意味着该文件不存在,显然这里不是这种情况。

$ git remote -v
origin  https://github.com/harrisongill/livepost.git (fetch)
origin  https://github.com/harrisongill/livepost.git (push)
$ git remote rm origin
error: Could not remove config section 'remote.origin'
$ git remote set-url origin https://github.com/harrisongill/europeanexplorer.git
$ git remote -v
origin  https://github.com/harrisongill/livepost.git (fetch)
origin  https://github.com/harrisongill/livepost.git (push)
origin  https://github.com/harrisongill/europeanexplorer.git (push)
$ git remote rm origin
$ git remote -v
origin  https://github.com/harrisongill/livepost.git (fetch)
origin  https://github.com/harrisongill/livepost.git (push)
Run Code Online (Sandbox Code Playgroud)

编辑:添加git配置

$git config --list
Harrisons-MacBook-Pro:European Explorer harrison$ git config --list
user.name=Harrison Gill …
Run Code Online (Sandbox Code Playgroud)

git

4
推荐指数
2
解决办法
5389
查看次数

simple_captcha中的"翻译缺失"

我有一些错误,当您查看此页面时,在您输入验证码的框中,它显示"缺少翻译".我环顾四周,注意到它可能与i18n或闪光有关,但我不确定,到目前为止我发现的两件事都没有效果.谁能够引导我朝着正确的方向前进?

captcha ruby-on-rails-3.2

3
推荐指数
1
解决办法
1150
查看次数

标签 统计

captcha ×1

git ×1

ruby-on-rails-3.2 ×1