2014年6月9日 星期一

[git] Jump to any commit

git reflog

35d1a85 HEAD@{0}: checkout: moving from ftpinterfacework_test to 35d1a852a69309a300dadcfbc0150053f2e0dc08

35d1a85 HEAD@{1}: reset: moving to 35d1a852a69309a300dadcfbc0150053f2e0dc08

22711f6 HEAD@{2}: checkout: moving from 22711f65cfdb646fd37d68ca8ebec579a4510410 to ftpinterfacework_test

22711f6 HEAD@{3}: commit: Change NCftp directory to upper level.

5b76eda HEAD@{4}: checkout: moving from master to 5b76eda6b94c4594eaf491c111afc7de481af7a9

5b76eda HEAD@{5}: commit: Fix some small bug.

35d1a85 HEAD@{6}: commit: Fix ftp interface (ubee-data.mib)

9341938 HEAD@{7}: commit: ftpput start, but not really start. mib browser work won’t crash.

b433e33 HEAD@{8}: commit: Fix display value at MIB browser

6ec9e67 HEAD@{9}: commit: Solve the set the value of ftpsize – this stage target

269ac27 HEAD@{10}: commit: Snmp can set the following value.

0b5265f HEAD@{11}: commit: Add function at SnmpUtil.c

eea0f2f HEAD@{12}: commit: Thomas fix the SNMP

0cc98fb HEAD@{13}: commit: Add Static NVram library to Makefile

7e7a6b0 HEAD@{14}: commit: Add FKC to understand where is my code change.

a07bbe3 HEAD@{15}: commit: Thomas fix

fc87140 HEAD@{16}: commit: Add ftp server address

27abd3c HEAD@{17}: checkout: moving from test to master

27abd3c HEAD@{18}: reset: moving to 27abd3c6690050b99620ce28074514c736ce85b0

555418a HEAD@{19}: reset: moving to 555418a5bee599ebdbd52321b420fa1583f7a09c

27abd3c HEAD@{20}: checkout: moving from 27abd3c6690050b99620ce28074514c736ce85b0 to test

27abd3c HEAD@{21}: checkout: moving from test to 27abd3c6690050b99620ce28074514c736ce85b0

27abd3c HEAD@{22}: checkout: moving from master to test

27abd3c HEAD@{23}: commit: Change mib position under ubeeCableAccessMgmt.

555418a HEAD@{24}: commit: Modify

53e42ce HEAD@{25}: commit: Mib function OK

d7e55ff HEAD@{26}: commit: Fix ubee-data.mib for compiler error

bfbeb5a HEAD@{27}: commit: Add all mib item into ubee-data.mib.

5d0b56f HEAD@{28}: commit: Add Mib file to implement mib function.

217be04 HEAD@{29}: commit: 1. Add Makefile for EVW3226 rule of ncftp.

425369c HEAD@{30}: commit: Add ncftp-3.2.5-src.tar.gz to be default FTP on Board

9b6f435 HEAD@{31}: commit: Add Speed Test DOC

c4810b8 HEAD@{32}: commit (initial): Source Code - Tiny ftp

git reset

Jump to commit c4810b8
git reset --hard c4810b8

Jump to header commit
git reset --hard origin/master

Reference:

  1. git-reset(1) Manual Page

0 意見:

張貼留言