Git init |
|
Initialization |
Git add |
|
Add to temporary storage Zone |
|
. |
Add all |
|
/ |
Add folder |
Git commit |
|
Submit |
|
- |
Automatically put the recorded and modified files into the cache area before submission |
|
-M |
Add submission instructions |
Git clone |
|
Clone version Library |
Git pull |
|
Submit a remote version Library |
Git push |
|
Push to remote version Library |
Git fetch |
|
Obtain remote version library submission |
Git checkout |
|
Check out to workspace/switch or create Branch |
|
-B branchname |
Create a new branch and switch to it immediately |
|
-D branchname |
Delete Branch |
Git remote |
|
Remote version Library Management |
Git config |
|
Query and modify configurations |
Git status |
|
Display workspace File status |
|
-S |
Get brief result output |
Git log |
|
Show submitted logs |
|
-P |
Display the differences between each update in patch format |
|
-- Stat |
Displays the statistics of each file update. |
|
-- Pretty |
Display Historical submission information in other formats |
|
-- Oneline |
Show only one row |
|
-- Author |
Only displays submissions related to the specified author |
|
-- Committer |
Only displays submissions related to the specified submitter |
|
-- Since/after |
Displays the submission after the specified time |
|
-- Until/before |
Display the submission before the specified time |
|
-- Grep |
Filter submission records based on comments |
|
|
|
Git diff |
|
Difference comparison |
|
V1.0 |
Project changes after v0.9 release |
|
BranchA branchB |
View the differences between branchB and branchA |
|
-- Cached |
View changes to cache |
|
HEAD |
View cached and Uncached changes
|
|
|
|
Git branch |
|
Branch Management |
Git reset |
|
Reset and Change Branch "cursor" |
|
HEAD |
Cancel cached content |
Git rebase |
|
Branch base change |
Git grep |
|
Search and locate File Content |
Git merge |
|
Branch merge |
Git show |
|
Display various types of objects |
Git rm |
|
Delete an object |
Git stage |
|
Equivalent to git add |
Git tag |
|
Tag an important point in history |
|
- |
Create a tag with Annotation |
Git stash |
|
Save and restore progress |