Git ls-files: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:


  git ls-files --modified ':(attr:merge=ours)'
  git ls-files --modified ':(attr:merge=ours)'
<font color=darkgray>Clarify what ':(attr:merge=ours)' means.</font>


=Show Files that Have Been Delete in the Working Tree=
=Show Files that Have Been Delete in the Working Tree=

Revision as of 01:28, 30 July 2019

Internal

Overview

Show information about files in the index and the working tree.

Show Files that Have Been Modified in the Working Tree

git ls-files --modified ':(attr:merge=ours)'

Clarify what ':(attr:merge=ours)' means.

Show Files that Have Been Delete in the Working Tree

git ls-files --deleted

Show Untracked Files

git ls-files --others --exclude-standard

(--exclude-standard is needed to drop ignored files from output)