Learn more about Github and github.

Source: Internet
Author: User

Learn more about Github and github.

1. installation:

First, find the git official website with a download link.

You can also use the following, my win7 64-bit system:

Download here: Git-2.13.0-64-bit.exe link: http://pan.baidu.com/s/1dFIOU1V password: xky2

The following figure shows the effect after installation:

Git: A code file can be used to express all versions. The principle is to store each file by taking snapshots for each version. Only txt text files are allowed.

 

Is the bash window. You can enter a command in it.

 

2. Create

Right-click E: \ python \ gitTUT and select Git Bash Here to open a bash window in the current path.

 

Set User Name:

Git config -- global user. name "longbiscuit"

You can use git config user. name to check the input user name.

Set Email:

Git config-global user. email "blzhu@buaa.edu.cn"

Initialization:

Git init

The. git folder is automatically initialized and generated in the directory,

Show all files: Ls-

After you enter open. git, the hidden folder is automatically opened. But I didn't open it. It doesn't matter. You can open it manually.

Create File 1.py: touch 1.py

But it has not been added to the git management library yet (git is a local version and github is an online version. This client can be used for direct management or online upload ).

Check status: gitStatus

 

 

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.