Horje
remove untracked files git Code Example
git remove untracked files
git clean -fdx
git discard untracked
# if you want to clean directories as well add -d
git clean -fd
how to remove untracked files in git
git clean -fd
how to delete unstaged files that were recently added locally
To see what files will be removed:
git clean -n <optional file_name/dir>

To actually delete those files:
git clean -f <optional file_name/dir>
git remove Untracked files
git clean -f
remove untracked files git
# Print out the list of files which will be removed (dry run)
git clean -n

# Interactive and you will get a quick overview of what is 
# going to be deleted offering you the possibility to include/exclude 
# the affected files
git clean -i

# To remove files, run
git clean -f




Shell

Related
unknown command "neat" for "kubectl" Code Example unknown command "neat" for "kubectl" Code Example
td-agent restart Code Example td-agent restart Code Example
ubuntu find folder through terminal Code Example ubuntu find folder through terminal Code Example
how to open sublime in linux Code Example how to open sublime in linux Code Example
how to install npm packages globally Code Example how to install npm packages globally Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8