Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git remove untraked files

# more info here: 
# https://stackoverflow.com/questions/61212/how-to-remove-local-untracked-files-from-the-current-git-working-tree
 
 git clean -fd
 
To remove directories, run git clean -f -d or git clean -fd
To remove ignored files, run git clean -f -X or git clean -fX
To remove ignored and non-ignored files, run git clean -f -x or git clean -fx
Comment

PREVIOUS NEXT
Code Example
Shell :: Pterodactyl wings update 
Shell :: install Fdisk 
Shell :: curl : Depends: libcurl3-gnutls 
Shell :: powershell get-childitem 
Shell :: git push in a new branch 
Shell :: watch and compile scss command 
Shell :: how to install mongodb server in ubuntu 
Shell :: git project root 
Shell :: install powershell on windows 
Shell :: unix change timestamp of file 
Shell :: how to see the size of /var 
Shell :: linux mount ntfs as read write 
Shell :: how to combine audio tracks ffmpeg 
Shell :: WSL connect docker daemon to docker for windows 
Shell :: mac flutter sdk path 
Shell :: dump database docker 
Shell :: tailwind vite 
Shell :: linux move all files to another folder 
Shell :: linux command to delete a dir 
Shell :: http sever with ssl start 
Shell :: stop docker image 
Shell :: bash single vs double quotes 
Shell :: npm TypeError [ERR_INVALID_ARG_TYPE]: 
Shell :: bash copy file 
Shell :: debian 9.4 telnet install 
Shell :: ailure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user] 
Shell :: pwd linux 
Shell :: git exclude some files from git commit 
Shell :: generate certificate ssl 
Shell :: git add all files command 
ADD CONTENT
Topic
Content
Source link
Name
5+5 =