在 /storage/logs 裡面建立 .gitignore,像是 /storage/logs/.gitignore內容為 *.log **/*.log !....
https://www.cisco.com/c/en/us/products/switches/catalyst-2960-x-series-switches/...