git提交時候需要注意的問題(如何控制不想提交的檔案)
阿新 • • 發佈:2019-01-03
1,如何防止不想提交的檔案而提交
我們只要在.gitignore檔案中加上不想提交的檔案的檔名就可以了;
例如:
/vendor /node_modules /public/storage Homestead.yaml Homestead.json .env .idea
1,如何防止不想提交的檔案而提交
我們只要在.gitignore檔案中加上不想提交的檔案的檔名就可以了;
例如:
/vendor /node_modules /public/storage Homestead.yaml Homestead.json .env .idea