1.xcode工程默认会创建一个.git文件,去掉勾选 2.文件夹不显示,点击smartGit导航栏上的view-->Files from Subdirectories 转载于:https://www.cnblogs.com/liuting-1204/p/5976448.html