避免本地重複輸入賬號密碼
git config --global credential.helper store
執行命令:
git config --global credential.helper store
git pull
輸入你的用戶名和密碼store模式會存儲
查看系統存儲的用戶名個密碼
cat ~/.git-credentials
tag
git tag //查看tag
git tag test_tag c809ddbf83939a89659e51dc2a5fe183af384233 //在某個commit 上打tag
git tag
...
git push origin test_tag //!!!本地tag推送到線上
...
git tag -d test_tag //本地刪除tag
git push origin :refs/tags/test_tag //本地tag刪除了,再執行該句,刪除線上tag
更新自動加載文件 composer dump-autoload
更多精彩文章請關注 王明昌博客