Question Valentin romanov in lesson «Moving through history», course «Git fundamentals»

Valentin romanov

"prefix (git log --filename)"

Must be "prefix (git log -- filename)" with space

1 0

Olga Pejenkova

Valentin romanov,

that's correct. If you need to check the commit history of a particular file, then it's git log -- filename. If you need to look through the commits history of repository, it's git log --oneline for abbreviated output.


Use Hexlet to the fullest extent!

  • Ask questions about the lesson
  • Test your knowledge in quizzes
  • Practice in your browser
  • Track your progress

Sign up or sign in

By sending this form, you agree to our Personal Policy and Service Conditions
Suggested learning programs
Development of front-end components for web applications
10 months
from scratch
Start at any time
Layout with the latest CSS standards
5 months
from scratch
under development
Start at any time