2018年6月7日 星期四

Git: Stop tracking specific file and git ignore it 停止追蹤特定檔案並且永久忽略追蹤

Stop tracking the file: 
git rm --cached <file dir>
And then edit .gitignore to add the file to ignore

沒有留言:

張貼留言