To delete newly made files in the directory “dir”:
Enter the directory:
cd dir
List the newly created files in the directory:
git clean -nd
Delete the listed files:
git clean -fd
2021-06-17
To delete newly made files in the directory “dir”:
Enter the directory:
cd dir
List the newly created files in the directory:
git clean -nd
Delete the listed files:
git clean -fd