StepsEasy
Git Commit - Example
Run
Reset
Destroy & Close
← Back to lesson
Code Editor
bash
# Stage specific files git add index.html style.css # Stage all changes git add . # Commit with message git commit -m "Add homepage layout" # See commit history git log --oneline # Amend last commit git commit --amend -m "Updated commit message"
Result
Click "Run" to execute the code...
Loading runtime...
Ready
BASH | In-Browser Execution