File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 34
34
* [ Apply any stash without deleting from the stashed list] ( https://github.com/git-tips/tips#apply-any-stash-without-deleting-from-the-stashed-list )
35
35
* [ Apply last stashed state and delete it from stashed list] ( https://github.com/git-tips/tips#apply-last-stashed-state-and-delete-it-from-stashed-list )
36
36
* [ Delete all stored stashes] ( https://github.com/git-tips/tips#delete-all-stored-stashes )
37
+ * [ Show all tracked files] ( https://github.com/git-tips/tips#show-all-tracked-files )
38
+ * [ Show all untracked files] ( https://github.com/git-tips/tips#show-all-untracked-files )
37
39
38
40
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
39
41
<!-- @doxie.inject end toc -->
@@ -221,5 +223,15 @@ __Alternatives:__
221
223
git stash drop < stash@{n}>
222
224
```
223
225
226
+ ## Show all tracked files
227
+ ``` sh
228
+ git ls-files -t
229
+ ```
230
+
231
+ ## Show all untracked files
232
+ ``` sh
233
+ git ls-files --others
234
+ ```
235
+
224
236
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
225
237
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 126
126
"title" : " Delete all stored stashes" ,
127
127
"tip" : " git stash clear" ,
128
128
"alternatives" : [" git stash drop <stash@{n}>" ]
129
+ },
130
+ {
131
+ "title" :" Show all tracked files" ,
132
+ "tip" :" git ls-files -t"
133
+ },
134
+ {
135
+ "title" :" Show all untracked files" ,
136
+ "tip" :" git ls-files --others"
129
137
}
130
138
]
You can’t perform that action at this time.
0 commit comments