Use of Git
1. Install GiT
- Select the installer, git-1.9.5-preview20150319.exe
- 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.