sh 将本地分支git log与远程分支进行比较

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh 将本地分支git log与远程分支进行比较相关的知识,希望对你有一定的参考价值。

git log @{u}..
# @{u} is a shortcut to the upstream branch that this current branch is tracking.
# .. specifies a range of commits.
# same as saying git log @{u}..HEAD
# comparing where HEAD is on this branch to where HEAD is on the remote tracked branch.s
# https://stackoverflow.com/questions/19474577/what-does-the-argument-u-mean-in-git/19474730#19474730

以上是关于sh 将本地分支git log与远程分支进行比较的主要内容,如果未能解决你的问题,请参考以下文章

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理

sh Bash / Git - 删除本地和远程分支以进行repo清理