What is the purpose of git ls-files?

Git Medium

Git — Medium

What is the purpose of git ls-files?

Key points

  • Git ls-files focuses on index-tracked files
  • Options allow for displaying untracked or ignored files
  • The command does not list files by modification time
  • It does not compare files between commits

Ready to go further?

Related questions