Use of Git

Source: Internet
Author: User

Use of Git

1. Install GiT

  • Select the installer, git-1.9.5-preview20150319.exe

  • Select the installation Module

  • The installation is successful by default.
  • TortoiseGit, TortoiseGit-2.2.0.0-64bit.msi installed by default.
  • Right-click any folder and you can see

2. Find a disk and create the "GitTest" folder.

3. Right-click the "GitTest" folder and choose "Git Bash Here". The command line interface is displayed.

4. Generate a version Library

In the command line, enter "git init"

The version library ". git" folder is generated in the "GitTest" folder.

5. Create three new. txt files in the javasgittest.pdf folder.

6. Right-click the blank space in the "GitTest" folder-TortoiseGit-Add. The following window appears:

7. Select all-OK.

8. Right-click "Git-commit-> master... ", The following window appears

9. Fill in the log in "message" and write everything you have modified. Click "commit"

10. "close"

11. modify the content in the txt document and mark the exclamation point

To understand the meaning of these icons, right-click the blank space in the folder-TortoiseGit-setting

12. Display comparison results

Right-click "Git-commit-> master... ", The following window appears

Double-click an entry to display the result.

 

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.