🧀 Learn Linux

Commonly used · Organize files

git:Manage code version

Syntax

git status | add File | commit -m Message

Options

status
View changes
diff
View differences
log
View history

Examples

git status

Usage and sandbox support

Just for review: View workspace changes, stage files, and create commits.

This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.

Full documentation ↗

Related commands