Git操作命令 1、删除未加入git的文件 1、删除未加入git的文件 D:\Idea_Workspace\rightcloud-v397\rightcloud-schedule>git clean -f -d -n Would remove src/main/java/cn/com/cloudstar/rightcloud/schedule/system/task/push/S.java Would remove src/main/java/cn/com/cloudstar/rightcloud/schedule/system/task/record/V.javaD:\Idea_Workspace\rightcloud-v397\rightcloud-schedule>git clean -f -d Removing src/main/java/cn/com/cloudstar/rightcloud/schedule/system/task/push/S.java Removing src/main/java/cn/com/cloudstar/rightcloud/schedule/system/task/record/V.javaD:\Idea_Workspace\rightcloud-v397\rightcloud-schedule>