`git log` 查看修改記錄
`git blame filename `查看誰寫的代碼
` git rm -fr .idea` 刪除webstorm的.idea
`sudo lsof -i tcp:port` 查看端口被占用的PID,`kill PID`
`git branch -d test`:刪除本地test分支
`git branch -D test`: test分支還沒有合入當前分支,所以要用-D參數才能刪掉。
`git push origin --delete test` 刪除遠程test分支
`git push origin :test` 刪除遠程test分支
git branch -D 是git branch --delete --force的簡寫,它會直接刪除。