git提交时候需要注意的问题(如何控制不想提交的文件)
转载http://blog.csdn.net/will5451/article/details/51596856
1,如何防止不想提交的文件而提交
我们只要在.gitignore文件中加上不想提交的文件的文件名就可以了;
例如:
/vendor /node_modules /public/storage Homestead.yaml Homestead.json .env .idea
转载http://blog.csdn.net/will5451/article/details/51596856
1,如何防止不想提交的文件而提交
我们只要在.gitignore文件中加上不想提交的文件的文件名就可以了;
例如:
/vendor /node_modules /public/storage Homestead.yaml Homestead.json .env .idea