git Tutorial
Git: Delete Untracked Files
By Xah Lee. Date:
2022-11-12
.
git clean -d -x -f
-d
→ Delete untracked dirs
-x
→ ignore the .gitignore file. Delete them.
-f
→ force it
git FAQ
git config
git FAQ
Unadd File
Undo Commit
Fix Last Commit Message
Revert to Old
Delete Untracked Files
What is HEAD
Fix Detached Head
Git Config Line-Ending for Windows
git
Install git
Git Basics
Setup Name and Email
Git Ignore File
git help
Create a Project
Clone a Project
Commit Files
Push to Server
Pull from Server
Commit ID
Find Difference
View Log
Git Blame
Branching
Archive; Zip
Temp Save: git stash
git FAQ
git config
git FAQ
Unadd File
Undo Commit
Fix Last Commit Message
Revert to Old
Delete Untracked Files
What is HEAD
Fix Detached Head
Git Config Line-Ending for Windows