Build Your own Git repository

Source: Internet
Author: User

Environment is Windows

1. First install git, download the git install package, this Google is good

2. Sign up for your git account https://github.com

3. Building a Warehouse

Fill in the name last that initialize this repository with a README best hook up

4. Cloning a warehouse

Open the installed Git Bash and use the command line to do so

CD into your pre-created folder such as: CD D:/test

git clone https://github.com/hankym/python.git

That is, download files from the server,https://github.com/hankym/python.git This address can be copied under the repository you created to

You can add new files and upload them to the server

git add test.txt

Git commit-m ' first_commit '

Git push Origin Master

After success, you will be able to see the files on your GitHub account that correspond to the repository

Build Your own Git repository

Related Article

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.