0

私が学んだ限り、ここを読んだ後git reflog、すべての頭のリストが表示されます。基本的には、チェックアウトするたびに履歴が保持されます。右?

私が理解できないのは、なぜ頭のリストの間に長い空白があるのですか? また、行間が見えます あれは:...skipping...何ですか?

私の出力を見てくださいgit reflog

git reflog
7136d2c HEAD@{0}: checkout: moving from master to master
7136d2c HEAD@{1}: checkout: moving from xhh994 to master
7136d2c HEAD@{2}: merge master: Fast-forward
f50e2ef HEAD@{3}: checkout: moving from master to xhh994
7136d2c HEAD@{4}: pull upstream master: Fast-forward
f50e2ef HEAD@{5}: checkout: moving from xhh994 to master
f50e2ef HEAD@{6}: checkout: moving from master to xhh994
f50e2ef HEAD@{7}: checkout: moving from hh994 to master
f50e2ef HEAD@{8}: checkout: moving from master to hh994
f50e2ef HEAD@{9}: pull upstream master: Fast-forward
c1deded HEAD@{10}: checkout: moving from gr8987 to master
25ac914 HEAD@{11}: commit: NotificationName changed
c651d22 HEAD@{12}: merge master: Merge made by the 'recursive' strategy.
ec0ff91 HEAD@{13}: checkout: moving from master to gr8987
c1deded HEAD@{14}: pull upstream master: Fast-forward
5a5781e HEAD@{15}: checkout: moving from gr8987 to master
ec0ff91 HEAD@{16}: commit: properly dismissed keyboard
5a5781e HEAD@{17}: checkout: moving from xhh990 to gr8987
b70f51c HEAD@{18}: checkout: moving from x2480 to xhh990
f083ee0 HEAD@{19}: checkout: moving from gr8987 to x2480
5a5781e HEAD@{20}: checkout: moving from master to gr8987
5a5781e HEAD@{21}: checkout: moving from xhh990 to master
b70f51c HEAD@{22}: checkout: moving from master to xhh990
:...skipping...
7136d2c HEAD@{0}: checkout: moving from master to master
7136d2c HEAD@{1}: checkout: moving from xhh994 to master
7136d2c HEAD@{2}: merge master: Fast-forward
f50e2ef HEAD@{3}: checkout: moving from master to xhh994
7136d2c HEAD@{4}: pull upstream master: Fast-forward
f50e2ef HEAD@{5}: checkout: moving from xhh994 to master
f50e2ef HEAD@{6}: checkout: moving from master to xhh994
f50e2ef HEAD@{7}: checkout: moving from hh994 to master
f50e2ef HEAD@{8}: checkout: moving from master to hh994
f50e2ef HEAD@{9}: pull upstream master: Fast-forward
c1deded HEAD@{10}: checkout: moving from gr8987 to master
25ac914 HEAD@{11}: commit: NotificationName changed
c651d22 HEAD@{12}: merge master: Merge made by the 'recursive' strategy.
ec0ff91 HEAD@{13}: checkout: moving from master to gr8987
c1deded HEAD@{14}: pull upstream master: Fast-forward
5a5781e HEAD@{15}: checkout: moving from gr8987 to master
ec0ff91 HEAD@{16}: commit: properly dismissed keyboard
5a5781e HEAD@{17}: checkout: moving from xhh990 to gr8987
b70f51c HEAD@{18}: checkout: moving from x2480 to xhh990
f083ee0 HEAD@{19}: checkout: moving from gr8987 to x2480
5a5781e HEAD@{20}: checkout: moving from master to gr8987
5a5781e HEAD@{21}: checkout: moving from xhh990 to master
b70f51c HEAD@{22}: checkout: moving from master to xhh990
5a5781e HEAD@{23}: checkout: moving from xhh990 to master
:

























7136d2c HEAD@{0}: checkout: moving from master to master
7136d2c HEAD@{1}: checkout: moving from xhh994 to master
7136d2c HEAD@{2}: merge master: Fast-forward
f50e2ef HEAD@{3}: checkout: moving from master to xhh994
7136d2c HEAD@{4}: pull upstream master: Fast-forward
f50e2ef HEAD@{5}: checkout: moving from xhh994 to master
f50e2ef HEAD@{6}: checkout: moving from master to xhh994
f50e2ef HEAD@{7}: checkout: moving from hh994 to master
f50e2ef HEAD@{8}: checkout: moving from master to hh994
f50e2ef HEAD@{9}: pull upstream master: Fast-forward
c1deded HEAD@{10}: checkout: moving from gr8987 to master
25ac914 HEAD@{11}: commit: NotificationName changed
c651d22 HEAD@{12}: merge master: Merge made by the 'recursive' strategy.
ec0ff91 HEAD@{13}: checkout: moving from master to gr8987
c1deded HEAD@{14}: pull upstream master: Fast-forward
5a5781e HEAD@{15}: checkout: moving from gr8987 to master
ec0ff91 HEAD@{16}: commit: properly dismissed keyboard
5a5781e HEAD@{17}: checkout: moving from xhh990 to gr8987
b70f51c HEAD@{18}: checkout: moving from x2480 to xhh990
f083ee0 HEAD@{19}: checkout: moving from gr8987 to x2480
5a5781e HEAD@{20}: checkout: moving from master to gr8987
5a5781e HEAD@{21}: checkout: moving from xhh990 to master
b70f51c HEAD@{22}: checkout: moving from master to xhh990
5a5781e HEAD@{23}: checkout: moving from xhh990 to master
:...skipping...
7136d2c HEAD@{0}: checkout: moving from master to master
7136d2c HEAD@{1}: checkout: moving from xhh994 to master
7136d2c HEAD@{2}: merge master: Fast-forward
f50e2ef HEAD@{3}: checkout: moving from master to xhh994
7136d2c HEAD@{4}: pull upstream master: Fast-forward
f50e2ef HEAD@{5}: checkout: moving from xhh994 to master
f50e2ef HEAD@{6}: checkout: moving from master to xhh994
f50e2ef HEAD@{7}: checkout: moving from hh994 to master
f50e2ef HEAD@{8}: checkout: moving from master to hh994
f50e2ef HEAD@{9}: pull upstream master: Fast-forward
c1deded HEAD@{10}: checkout: moving from gr8987 to master
25ac914 HEAD@{11}: commit: NotificationName changed
c651d22 HEAD@{12}: merge master: Merge made by the 'recursive' strategy.
ec0ff91 HEAD@{13}: checkout: moving from master to gr8987
c1deded HEAD@{14}: pull upstream master: Fast-forward
5a5781e HEAD@{15}: checkout: moving from gr8987 to master
ec0ff91 HEAD@{16}: commit: properly dismissed keyboard
5a5781e HEAD@{17}: checkout: moving from xhh990 to gr8987
b70f51c HEAD@{18}: checkout: moving from x2480 to xhh990
f083ee0 HEAD@{19}: checkout: moving from gr8987 to x2480
5a5781e HEAD@{20}: checkout: moving from master to gr8987
5a5781e HEAD@{21}: checkout: moving from xhh990 to master
b70f51c HEAD@{22}: checkout: moving from master to xhh990
5a5781e HEAD@{23}: checkout: moving from xhh990 to master
b70f51c HEAD@{24}: commit: defaulted Home Screen to Job homeView after app is brought:
4

1 に答える 1

2

空行と:...skipping...行は、ページャによって印刷されます。これらの行が表示されるのは、ページャーにスクロールの指示を与え、後で端末のスクロールバーを使用して戻って端末の「画面外」出力を表示した場合のみです。

を使用するなど、ページャーを使用しない場合、git --no-pager reflogこれらの行は表示されません。

于 2016-09-26T18:10:26.787 に答える