Answers for "git abandon untracked files"

2

how to delete unstaged files that were recently added locally

To see what files will be removed:
git clean -n <optional file_name/dir>

To actually delete those files:
git clean -f <optional file_name/dir>
Posted by: Guest on July-26-2020
0

git abandon untracked files

git clean -i
Posted by: Guest on November-02-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language