Skip to content

Commit 9ac4b5b

Browse files
committed
get list of untracked files/directory
1 parent d74c78a commit 9ac4b5b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* [Show all ignored files](https://github.com/git-tips/tips#show-all-ignored-files)
4545
* [Create new working tree from a repository (git 2.5)](https://github.com/git-tips/tips#create-new-working-tree-from-a-repository-git-25)
4646
* [Create new working tree from HEAD state](https://github.com/git-tips/tips#create-new-working-tree-from-head-state)
47-
* [Before deleting untracked files/directory, do a dry run to get the list of untracked files/directory](https://github.com/git-tips/tips#before-deleting-untracked-filesdirectory-do-a-dry-run-to-get-the-list-of-untracked-filesdirectory)
47+
* [Before deleting untracked files/directory, do a dry run to get the list of these files/directories](https://github.com/git-tips/tips#before-deleting-untracked-filesdirectory-do-a-dry-run-to-get-the-list-of-these-filesdirectories)
4848
* [Forcefully remove untracked files](https://github.com/git-tips/tips#forcefully-remove-untracked-files)
4949
* [Forcefully remove untracked directory](https://github.com/git-tips/tips#forcefully-remove-untracked-directory)
5050

@@ -302,7 +302,7 @@ git worktree add -b <branch-name> <path> <start-point>
302302
git worktree add --detach <path> HEAD
303303
```
304304

305-
## Before deleting untracked files/directory, do a dry run to get the list of untracked files/directory
305+
## Before deleting untracked files/directory, do a dry run to get the list of these files/directories
306306
```sh
307307
git clean -n
308308
```

tips.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"tip": "git worktree add --detach <path> HEAD"
172172
},
173173
{
174-
"title": "Before deleting untracked files/directory, do a dry run to get the list of untracked files/directory",
174+
"title": "Before deleting untracked files/directory, do a dry run to get the list of these files/directories",
175175
"tip": "git clean -n"
176176
},
177177
{

0 commit comments

Comments
 (0)