Linux --- common git commands and get and upload code on github

Source: Internet
Author: User
Tags git commands

Linux --- common git commands and get and upload code on github
This article is an entry to git and a personal study note. The level of understanding involved will not be too high, but it will also include the relevant commands we use everyday as much as possible. 1: Environment Description: System: Centos 7 Git version 1.8.3.1 ssh-6.4p1 Gitbub: https://github.com/
2: git operation [initialize git configuration --- create repository --- add/delete files --- submit updates --- view logs] 2.1: Initialize git configuration $ git config -- global user. name "Your name" $ git config -- global user. email "Your email" is configured with the name and email address of the person who uses the git repository (for personal understanding, this step sets the user information. As to whether it is very important, you only need to know that it will be used when submitting code, and the requirements for the above settings are not required for submitting code. If the country does not set the above information, git will submit it in simple mode.

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.