當前位置:
首頁 >
git亲测命令
發布時間:2025/3/8
22
豆豆
一、Git新建本地分支與遠程分支關聯問題
git checkout -b branch_name origin/branch_name
或者
git branch --set-upstream branch_name?origin/branch_name?
或者
git branch?branch_name?
git branch --set-upstream-to=origin/branch_name?branch_name
二、查看本地分支所關聯的遠程分支
git branch -vv
? ?
git config --list
三、查看歷史記錄
git log
git log --stat
git log --shortstat
?
git reflog
?
? 如何在 Git 里撤銷(幾乎)任何操作
轉載于:https://www.cnblogs.com/hujunzheng/p/5938552.html
總結
- 上一篇: 山区农村养殖什么比较好 这些你都得知道
- 下一篇: hdu 2014鞍山赛区 5073 Ga