0
假设我有一个叫branch1
的分支。我很少进行合并和推动(不同日期),以挽救我的远程回购的变化,例如:如何查看和拉动先前的远程分支推送?
年12月16:
git merge -am "branch1 comment1"
git push origin branch1
年12月17:
git merge -am "branch1 comment2"
git push origin branch1
在12月18日:
git merge -am "branch1 comment3"
git push origin branch1
如何在REMOTE上列出/查看分支1的历史记录(以上3个版本,日期和评论列表)?
我曾尝试
git show -r branch1
,git ls-remote origin branch1
和git log origin/branch1
...我怎么能拉分支1的12月17日的版本?
我也看过Retrieve specific commit from a remote Git repository和相关的,但我找不到简单的答案。
此外,当我试图弄清楚这一点,我删除BRANCH1本地使用“混帐分支-D BRANCH1” ......但它存在于远程回购 – dev73