Problem
gitignore 不起作用
Solution
git rm -r --cached .
git add .
[seems command below can be omitted, just use above two commands]
git commit -m 'update .gitignore'
git rm -r --cached .
git add .
[seems command below can be omitted, just use above two commands]
git commit -m 'update .gitignore'
一: 安裝openssl和pcre yum -y install pcre-devel openssl openssl-devel 安裝git yum install git -y
取消跟蹤文件&&重新跟蹤 如果修改了.gitignore文件,那麼需要進行如下操作: git rm -rf --cached . git add ./*
創建分支並且拉去遠程同步分支的過程中出現該異常: fatal: 'idea-line-02' is not a commit and a branch 'idea-line