草庐IT

com-state

全部标签

git - Heroku:您的帐户 example@email.com 无权访问 <app-name>

我无法将代码推送到Heroku。我有一个帐户,但我忘记了密码。我创建了一个新帐户并尝试使用它进行推送,但现在它向我显示此错误:Youraccountsomeoneelse@gmail.comdoesnothaveaccessto!SSHKeyFingerprint:如何使用新帐户登录?我想用新帐户删除此错误消息。我已将最新的sshkey上传到heroku。我已尽一切努力在heroku上推送代码(基本设置),但我无法克服此错误。您帐户中的任何应用程序都有两个sshkey,您应该删除一个不在“~/.ssh/”文件夹中的key,或者按照以下步骤操作。解决方法如下:转到www.heroku.c

git - 使用 github.com 查看文件的更改历史

我找到了thispost关于使用命令行,但是否可以在github.com上的存储库中查看单个文件的文件更改历史记录?浏览器内解决方案可以帮助我在session中更好地向团队成员说明变化。 最佳答案 您可以通过单击历史记录按钮或在文件的URL中添加commits来查看文件的更改历史记录。这是Homebrew中的文件的样子GitHub上的存储库:https://github.com/mxcl/homebrew/commits/master/SUPPORTERS.md要获取逐行历史记录,只需添加SHA-1您希望在commit之后查看URL

git - 使用 github.com 查看文件的更改历史

我找到了thispost关于使用命令行,但是否可以在github.com上的存储库中查看单个文件的文件更改历史记录?浏览器内解决方案可以帮助我在session中更好地向团队成员说明变化。 最佳答案 您可以通过单击历史记录按钮或在文件的URL中添加commits来查看文件的更改历史记录。这是Homebrew中的文件的样子GitHub上的存储库:https://github.com/mxcl/homebrew/commits/master/SUPPORTERS.md要获取逐行历史记录,只需添加SHA-1您希望在commit之后查看URL

git - 尝试推送 git 并接收 "could not read Username for ' https ://github. com':终端提示已禁用”

我正在使用VisualStudio和GitHub扩展。我能够登录,然后克隆我团队的存储库,然后成功pull更改。当需要将我的更改推送回远程时,我在屏幕上短暂出现一个空白命令提示符,然后在输出窗口中出现以下错误:Errorencounteredwhilepushingtotheremoterepository:Gitfailedwithafatalerror.fatal:AggregateExceptionencountered.Oneormoreerrorsoccurred.error:cannotspawnaskpass:Nosuchfileordirectoryfatal:coul

git - 尝试推送 git 并接收 "could not read Username for ' https ://github. com':终端提示已禁用”

我正在使用VisualStudio和GitHub扩展。我能够登录,然后克隆我团队的存储库,然后成功pull更改。当需要将我的更改推送回远程时,我在屏幕上短暂出现一个空白命令提示符,然后在输出窗口中出现以下错误:Errorencounteredwhilepushingtotheremoterepository:Gitfailedwithafatalerror.fatal:AggregateExceptionencountered.Oneormoreerrorsoccurred.error:cannotspawnaskpass:Nosuchfileordirectoryfatal:coul

git - 如何解析 "git pull,fatal: unable to access ' https ://github. com...\': Empty reply from server"

当我使用Git命令“gitpull”更新我的存储库时失败,消息如下:致命:无法访问“...”:来自服务器的空回复。我尝试使用GitHub应用程序,但警告:Cloninginto'renren_mobile'...warning:templatesnotfound/Applications/GitHub.app/Contents/Resources/git/templates2014-11-2313:58:57.975GitHubforMacLogin[659:11891]AskPasswitharguments:("/Applications/GitHub.app/Contents/M

git - 如何解析 "git pull,fatal: unable to access ' https ://github. com...\': Empty reply from server"

当我使用Git命令“gitpull”更新我的存储库时失败,消息如下:致命:无法访问“...”:来自服务器的空回复。我尝试使用GitHub应用程序,但警告:Cloninginto'renren_mobile'...warning:templatesnotfound/Applications/GitHub.app/Contents/Resources/git/templates2014-11-2313:58:57.975GitHubforMacLogin[659:11891]AskPasswitharguments:("/Applications/GitHub.app/Contents/M

git - https ://xxx. visualstudio.com/DefaultCollection/_git/project 的身份验证失败

我正在尝试使用git将我的存储库推送到visualstudioteamservices项目,但出现错误:fatal:Authenticationfailedfor(urlofteamproject)我正在使用命令:gitremoteaddoriginhttps://XXXXXXX.visualstudio.com/DefaultCollection/_git/projectgitpush-uorigin-–all有解决办法吗? 最佳答案 我最近遇到了同样的问题(visualstudio2017&Windows10),用下面的方法解决

git - https ://xxx. visualstudio.com/DefaultCollection/_git/project 的身份验证失败

我正在尝试使用git将我的存储库推送到visualstudioteamservices项目,但出现错误:fatal:Authenticationfailedfor(urlofteamproject)我正在使用命令:gitremoteaddoriginhttps://XXXXXXX.visualstudio.com/DefaultCollection/_git/projectgitpush-uorigin-–all有解决办法吗? 最佳答案 我最近遇到了同样的问题(visualstudio2017&Windows10),用下面的方法解决

git - ssh : Could not resolve hostname github. com:名称或服务未知; fatal: 远端意外挂断

设置GitHub帐户的过程工作正常,但当我尝试将我的存储库推送到GitHub时它不起作用。它显示的错误信息如下:ssh:Couldnotresolvehostnamegithub.com:Nameorservicenotknownfatal:Theremoteendhungupunexpectedly我已尝试更改RSAkey,但仍然出现错误。是什么导致了这个错误? 最佳答案 最近我也看到了这个问题。下面,你有我的解决方案:pinggithub.com,如果ping失败。这是DNS错误。sudovim/etc/resolv.conf,