GIT Associate Remote Repository command < original >

Source: Internet
Author: User

First, there is a remote repository, the local want to clone its code:

$ git clone [email protected]:winkey4986/weather_demo.git

Second, the local code, want to build a remote repository to save code, can also be used as a transit point

$ git Remote add origin [email protected]:winkey4986/-M "Weather demo"-F

Note the last line of- F, before looking at the online example (http://blog.csdn.net/u011043843/article/details/33336625)

Tried a lot of Git push-u Origin master, but it was an error, and later saw an article, add-F, the local replacement server, if the server also has code, feel a bit risky, empty words do not matter

GIT Associate Remote Repository command < original >

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.