Git ls-files: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
Show information about files in the [[Git_Concepts#Index|index]] and the [[Git_Concepts#Working_Tree|working tree]].
Show information about files in the [[Git_Concepts#Index|index]] and the [[Git_Concepts#Working_Tree|working tree]].


=List Files that Have Been Modified in the Working Tree=
=Show Files that Have Been Modified in the Working Tree=


  git ls-files --modified ':(attr:merge=ours)'
  git ls-files --modified ':(attr:merge=ours)'
=Show Files that Have Been Delete in the Working Tree=
git ls-files --deleted

Revision as of 00:40, 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)'

Show Files that Have Been Delete in the Working Tree

git ls-files --deleted