1. Clear Clear Screen
2. cp–r src des copy folder
3. Du–sh Xxx_folder View the size of the folder such as Du–sh pizza results display 11G
Git view the git status of a file
http://phplaber.iteye.com/blog/1699926
[untracked files]---> Git Add. ---> [changes to be committed] add staging area, ready to store in history
[Changes to be committed]---> Git rm--cached README. TXT---> [untracked files] removed from staging area
Changes not staged for commit status, indicating that the file has been modified but not yet placed in the staging area
1. This file already has a copy in Git history.
2. The file is now modified in the workspace, but it has not yet been submitted to the staging, only to be submitted to staging area, before it can be submitted to the history record.
The local file has been modified, but now you want to modify it, you can use the following command:
1. See the differences first
Work area and staging area
Git diff readme.txt
Workspaces and historical records
git diff HEAD Readme.txt
Staging area and historical records
Git diff–-cached readme.txt
2. Undo Changes
git Checkout all modifications
Git checkout–readme.txt the specified file
Using Git to publish Android system version 1