git reflog show origin/offer_branch1
git reflog | grep offer_branch1
网上的方法都实验了一下,没有用
我的目标是,我远程有一个分支,我想知道他是从哪里来的(从 mater 呢,还是从哪里)
D:\git\offer>git reflog show origin/offer_branch1
c771b09ec (origin/offer_branch1, offer_branch1) refs/remotes/origin/offer_branch1@{0}: update by push
b6c0dc035 refs/remotes/origin/offer_branch1@{1}: update by push
4dd06da86 refs/remotes/origin/offer_branch1@{2}: update by push
9ca1762e4 refs/remotes/origin/offer_branch1@{3}: update by push
cdaf15d33 refs/remotes/origin/offer_branch1@{4}: update by push
14507a4ae refs/remotes/origin/offer_branch1@{5}: update by push
0f2911036 refs/remotes/origin/offer_branch1@{6}: update by push
01fe3bc21 refs/remotes/origin/offer_branch1@{7}: update by push
8b15c769d refs/remotes/origin/offer_branch1@{8}: update by push
756392784 refs/remotes/origin/offer_branch1@{9}: update by push
9537dd380 refs/remotes/origin/offer_branch1@{10}: fetch origin --recurse-submodules=no --progress --prune: storing head
$ git reflog | grep offer_branch1
c771b09ec HEAD@{0}: checkout: moving from offer_branch to offer_branch1
401ed70fa HEAD@{1}: checkout: moving from offer_branch1 to offer_branch
c771b09ec HEAD@{2}: checkout: moving from offer_temp3 to offer_branch1
a5ab1a592 HEAD@{3}: checkout: moving from offer_branch1 to offer_temp3
c771b09ec HEAD@{4}: checkout: moving from offer_temp2 to offer_branch1
f94f145bb HEAD@{5}: checkout: moving from offer_branch1 to offer_temp2
c771b09ec HEAD@{8}: checkout: moving from offer_temp2 to offer_branch1
f94f145bb HEAD@{9}: checkout: moving from offer_branch1 to offer_temp2
c771b09ec HEAD@{12}: checkout: moving from offer_temp3 to offer_branch1
062a48dbd HEAD@{58}: merge origin/offer_branch1: Merge made by the 'recursive' strategy.
f3b731970 HEAD@{65}: checkout: moving from offer_branch1 to offer_temp
cdaf15d33 HEAD@{70}: checkout: moving from offer_temp to offer_branch1
1b967ae32 HEAD@{73}: checkout: moving from offer_branch1 to offer_temp2
14507a4ae HEAD@{75}: checkout: moving from offer_temp2 to offer_branch1
f3b731970 HEAD@{78}: checkout: moving from offer_branch1 to offer_temp
8b15c769d HEAD@{82}: checkout: moving from offer_branch to offer_branch1
6327e6b40 HEAD@{88}: checkout: moving from offer_branch1 to offer_branch
756392784 HEAD@{90}: checkout: moving from offer_branch to offer_branch1
48b39e0be HEAD@{93}: checkout: moving from offer_branch1 to offer_branch
9537dd380 HEAD@{95}: checkout: moving from offer_branch to offer_branch1
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.