Version Control tool: Git
Linux/macos Terminal commands
Note: the command parameter directory
All commands are in the English state
Parameters can be mixed using eg:-la-al
1.CD: Switch Files directory
~ Home Directory/root directory: Top-level Directory desktop Desktops
2.ls: Query
-A: All files, including hidden files
-Up: More information
3.touch: Create file Mode: file name. type
4.open: Open File
5.RM: Remove Note: Delete not into trash
6.-RF: Force ignore prompt and delete
7.mkdir: Create Folder/directory
8.rmdir: Deleting a Folder/directory folder is empty before you can delete it
Git:
1.git init: Creating a Repository
2.git add: Adding Content to Staging Area 1. filename a file 2. Path 3.-a all under a path
3.git commit-m ' description ' submit content to Repository
4.git log: View all submissions
5.git Status: View the current state of Git 1. Change 2. Delete 3. Not tracked
6.git diff: See the difference between a file and a history commit
7.git Reset--hard commitid/head^ 1. Fallback version/forward version 2.git Reflog view history commit ID 3.commitID reserved 7-bit
Git linux commands