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

From a novice to a developer. Get a job or your money back!

Frontend Developer icon
Development of front-end components for web applications
start anytime 10 months
Layout Designer icon
New Under development beginner
Layout with the latest CSS standards
start anytime 5 months