1,首先在命令行创建.gitignore文件
參考:http://blog.csdn.net/joeyon1985
转载于:https://www.cnblogs.com/bhlsheji/p/5179435.html