クエスト 146Git Committer
+240 XP
Version Control Basics (git status, diff, log)
このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作
概念と概要
Modern Linux servers and cloud infrastructure rely on Git for version control, continuous integration, and infrastructure-as-code deployments. Let's master the core introspection commands.
- git status: Checks working tree and staging area state, revealing modified, untracked, and staged files.
- git diff: Shows line-by-line differences between modified files and the last commit.
- git log: Displays commit hashes, author metadata, and change messages.
ミッションの手順
Let's inspect code changes in the repository. Check working tree state with
git status, inspect file modifications with git diff, and review repository history using git log.コマンド構文リファレンス
| Command / Syntax | Description |
|---|---|
git status | Display repository and staging area status |
git diff | Display line-by-line diffs of modified files |
git log | Display commit history log |
検証目標
- ○Run git status
- ○Run git diff
- ○Run git log