git亲测命令
一、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

本文来自博客园,作者:hjzqyx,转载请注明原文链接:https://www.cnblogs.com/hujunzheng/p/5938552.html

浙公网安备 33010602011771号