Git tag 與避免重複輸入密碼

避免本地重複輸入賬號密碼

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

更多精彩文章請關注 王明昌博客

發佈了64 篇原創文章 · 獲贊 9 · 訪問量 6萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章