Permanently added the RSA host key for IP address '192. 30.253.113 'to the list of known hosts.

Source: Internet
Author: User

$ Git push origin master error:

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 dohint: not have locally. This is usually caused by another repository pushinghint: to the same ref. You may want to first integrate the remote changeshint: (e.g., ‘git pull ...‘) before pushing again.hint: See the ‘Note about fast-forwards‘ in ‘git push --help‘ for details.

Run the $ git pull command. The project is not updated and the following message is displayed:

$ git pullremote: 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 0Unpacking objects: 100% (3/3), done.From github.com:ckx0709/MyOrcl * [new branch]      master     -> origin/masterThere 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

Run the local remote branch association command:

Git Branch -- Set-Upstream-To = origin/remote_branch your_branch

Here, origin/remote_branch is the remote branch corresponding to your local branch; your_branch is your current local branch.

(

$ Git branch: local branch

$ Git branch-VV (two V), you can see the remote branch of the local branch tracking.

)

Then execute remote submission:

$ Git push origin master

Successful.

Permanently added the RSA host key for IP address '192. 30.253.113 'to the list of known hosts.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.