Thursday, 12 January 2017

git clean

40. How to remove all the untrack files in the current branch?

    Step 1 is to show what will be deleted by using the -n option:
    git clean -n
    Clean Step - beware: this will delete files:
    git clean -f



Ref:     http://stackoverflow.com/questions/61212/how-to-remove-local-untracked-files-from-the-current-git-branch

No comments:

Post a Comment