Permanently added the RSA host key for IP address '192.30.253.113' to the list of known host

Posted ckxlovejava

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Permanently added the RSA host key for IP address '192.30.253.113' to the list of known host相关的知识,希望对你有一定的参考价值。

$git push origin master 报错:

Warning: Permanently added the RSA host key for IP address ‘192.30.253.113‘ to the list of known hosts.
To github.com:***/***.git
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to ‘[email protected]:***/***.git‘
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., ‘git pull ...‘) before pushing again.
hint: See the ‘Note about fast-forwards‘ in ‘git push --help‘ for details.

执行:$git pull 命令,没有将项目更新,并提示下图:

$ git pull
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
From github.com:ckx0709/MyOrcl
 * [new branch]      master     -> origin/master
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

    git pull <remote> <branch>

If you wish to set tracking information for this branch you can do so with:

    git branch --set-upstream-to=<remote>/<branch> master

执行本地关联远程分支命令

git branch --set-upstream-to=origin/remote_branch  your_branch

其中,origin/remote_branch是你本地分支对应的远程分支;your_branch是你当前的本地分支。

$git branch :本地分支

$git branch -vv(两个v),就能够看到本地分支跟踪的远程分支。

再执行远程提交:

$ git push origin master

成功。


以上是关于Permanently added the RSA host key for IP address '192.30.253.113' to the list of known host的主要内容,如果未能解决你的问题,请参考以下文章

Warning: Permanently added the RSA host key for IP address ‘13.250.177.223‘ to the list of known(代码片

Warning: Permanently added the RSA host key for IP address '52.74.223.119' to the list of kn

转 解决Centos6.5中ssh登录时Warning:Permanently added (RSA) to the list of known hosts的警告

问题解决:ansible Permanently added ‘127.0.0.1‘ (ECDSA) to the list of known hosts. Permission denied

e618. Validating a JTextField When Permanently Losing the Focus

Read the ads中的ads为啥要加s?