Code-Hosting related ...

Source: Internet
Author: User
Tags hosting

Have not used git before, today studied, managed the code successfully, recorded:

First look at the results:

Now let's take a look at the steps:

① Make sure your computer has a git environment, if not, http://sourceforge.net/projects/git-osx-installer/files/download git the latest version of the direct installation, there is another way is to Macport, That I didn't make it, I didn't watch it.

② Create a folder anywhere on your computer ... Then open the terminal, CD to this directory, and then enter the git clone + your managed server Project address: Here I use http://git.oschina.net/for hosting, so my commands and results are as follows:

③ then in the created directory, found one more of your project name, copy your project files to this directory, follow the following command to continue:

After a while, upload all the directories and enter: Git push

The representative succeeds, then goes to the host server to see, can see the article earlier effect.

Code-Hosting related ...

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.