Git - Clean

> Code - (Programming|Computer) Language > Code Versioning > Git

2 - Management

2.1 - Simulation

What will be deleted by using the -n option:

git clean -n
Advertising

2.2 - Force

Clean Step - beware: this will delete files:

git clean -f

2.3 - Remove

2.3.1 - ignored directories

git clean -f -d 
#or 
git clean -fd

2.3.2 - ignored files

git clean -f -X 
#or 
git clean -fX

2.3.3 - ignored and non-ignored files

git clean -f -x 
#or git clean -fx
code/version/git/clean.txt · Last modified: 2018/05/23 12:17 by gerardnico