Question: After making some major changes to your code, you are a little nervous about committing. What command would you use to review the commit prior to making it?
- git commit --verify
- git notes show
- git commit preview
- git commit --dry-run
Answer: The correct answer of the above question is Option D:git commit --dry-run