ayugioh2003 / today-i-learned

記錄每天看到的資訊(暫以前端技術為主)
7 stars 0 forks source link

How do I get the current branch name in Git? - Stack Overflow #1622

Open ayugioh2003 opened 1 year ago

ayugioh2003 commented 1 year ago

網址

記錄原因

之前在公司專案寫了部署腳本 需要檢查目前的 git 分支

git branch --show-current

觀念

學習點

相關資料