Design and Implementation of the switcher plug-in based on compiz for the csdn open-source summer camp

Source: Internet
Author: User

Because the project code needs to be uploaded to git, you need to learn how to use git. I initially contacted git and prepared to use this post to record git learning. This post will be updated dynamically as I understand git.

I. Introduction to git 1. Overview: git is a distributed version control system,
2. For more information, see http://baike.baidu.com/subview/1531489/12032478.htm2.git.

Here we will introduce the installation on the Linux platform. I am using Ubuntu Kylin 14.04, just enter the command: sudo apt-Get install git on the terminal, as shown below:

III. Basic use 1. Create a version Library: git init name, create a new git repository named name,


2. Check out the warehouse
(1) clone the local repository: git clone name namenew

(2) clone the repository created on the server: git clone source target directory name

Note that the public key must be added to clone from the repository on the server. The public key generation method is as follows:

Set User Name. Email
Run git config -- global user. Name "User Name"
Enter the command: git config -- global user. Email

Generate public key

Enter the command: Cd ~ /. SSH
Enter the command: SSH-keygen-t rsa-c "mailbox name"


Id_rsa.pub stores the public key and adds the public key to the server to clone it.

At present, I know that git operations are basically the same, and other basic usage will be supplemented later. If something is wrong or bad, I hope you will give me more advice. We hope to get your support.

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.