Git Clean Interactively


Example

git clean -i

Will print out items to be removed and ask for a confirmation via commands like the follow:

Would remove the following items:
  folder/file1.py
  folder/file2.py
*** Commands ***
    1: clean        2: filter by pattern        3: select by numbers        4: ask each
    5: quit        6: help
What now>

Interactive option i can be added along with other options like X, d, etc.