mirror of
https://github.com/git-tips/tips.git
synced 2024-09-21 00:01:03 +02:00
get list of untracked files/directory
This commit is contained in:
parent
d74c78a473
commit
9ac4b5be05
|
@ -44,7 +44,7 @@
|
|||
* [Show all ignored files](https://github.com/git-tips/tips#show-all-ignored-files)
|
||||
* [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)
|
||||
* [Create new working tree from HEAD state](https://github.com/git-tips/tips#create-new-working-tree-from-head-state)
|
||||
* [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)
|
||||
* [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)
|
||||
* [Forcefully remove untracked files](https://github.com/git-tips/tips#forcefully-remove-untracked-files)
|
||||
* [Forcefully remove untracked directory](https://github.com/git-tips/tips#forcefully-remove-untracked-directory)
|
||||
|
||||
|
@ -302,7 +302,7 @@ git worktree add -b <branch-name> <path> <start-point>
|
|||
git worktree add --detach <path> HEAD
|
||||
```
|
||||
|
||||
## Before deleting untracked files/directory, do a dry run to get the list of untracked files/directory
|
||||
## Before deleting untracked files/directory, do a dry run to get the list of these files/directories
|
||||
```sh
|
||||
git clean -n
|
||||
```
|
||||
|
|
|
@ -171,7 +171,7 @@
|
|||
"tip": "git worktree add --detach <path> HEAD"
|
||||
},
|
||||
{
|
||||
"title": "Before deleting untracked files/directory, do a dry run to get the list of untracked files/directory",
|
||||
"title": "Before deleting untracked files/directory, do a dry run to get the list of these files/directories",
|
||||
"tip": "git clean -n"
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user