git diff
git diff
,比较 working tree 与 staged 文件的区别。
git diff --stage
, 比较 staged 文件与上一次 commit 的区别
Branch
查看当前分支upstream
$ git branch -vv
设置当前分支的upstream
$ git branch --set-upstream-to=origin/member-manager
git diff
,比较 working tree 与 staged 文件的区别。
git diff --stage
, 比较 staged 文件与上一次 commit 的区别
$ git branch -vv
$ git branch --set-upstream-to=origin/member-manager