git 大招

Last login: Mon Nov  4 19:30:18 on ttys004

 

cd /Users/longquan/Desktop/TaobaoIOS/taobaoworkspace/Taobao2013

 

longquantekiMacBook-Pro:~ longquan$ cd /Users/longquan/Desktop/TaobaoIOS/taobaoworkspace/Taobao2013

 

longquantekiMacBook-Pro:Taobao2013 longquan$ git fsck

 

Checking object directories: 100% (256/256), done.

 

Checking objects: 100% (134721/134721), done.

 

longquantekiMacBook-Pro:Taobao2013 longquan$ ls

 

3rdNeedLibTaobao2013.xcodeproj

 

DependenciesTaobao2013Tests

 

Header.hTaobaoUnitTests

 

OCHamcrestIOS.frameworkTencentOpenApi_IOS_Bundle.bundle

 

Taobao2013taoApps

 

Taobao2013 TestswhiteArrow.png

 

Taobao2013 copy-Info.plist

 

longquantekiMacBook-Pro:Taobao2013 longquan$ git reflog

 

warning: refname 'HEAD' is ambiguous.

 

b2ea77c HEAD@{0}: pull origin ios7_adapt: Fast-forward

 

19db916 HEAD@{1}: reset: moving to HEAD~

 

b2ea77c HEAD@{2}: checkout: moving from HEAD to ios7_adapt

 

ec5f73b HEAD@{3}: checkout: moving from ios7_adapt to HEAD

 

b2ea77c HEAD@{4}: checkout: moving from a4043cbcba4ed16927a2ac68edc2d90ae20351f3

 

a4043cb HEAD@{5}: commit: 我的淘宝io7适配

 

19db916 HEAD@{6}: checkout: moving from master to 19db916fbe6bedf6219169936f7f10

 

ec5f73b HEAD@{7}: clone: from [email protected]:Taobao2013.git

 

...skipping...

 

b2ea77c HEAD@{0}: pull origin ios7_adapt: Fast-forward

 

19db916 HEAD@{1}: reset: moving to HEAD~

 

b2ea77c HEAD@{2}: checkout: moving from HEAD to ios7_adapt

 

ec5f73b HEAD@{3}: checkout: moving from ios7_adapt to HEAD

 

b2ea77c HEAD@{4}: checkout: moving from a4043cbcba4ed16927a2ac68edc2d90ae20351f3

 

a4043cb HEAD@{5}: commit: 我的淘宝io7适配

 

19db916 HEAD@{6}: checkout: moving from master to 19db916fbe6bedf6219169936f7f10

 

ec5f73b HEAD@{7}: clone: from [email protected]:Taobao2013.git

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

~

 

longquantekiMacBook-Pro:Taobao2013 longquan$ git checkout a4043cb

 

Note: checking out 'a4043cb'.

 

 

 

You are in 'detached HEAD' state. You can look around, make experimental

 

changes and commit them, and you can discard any commits you make in this

 

state without impacting any branches by performing another checkout.

 

 

 

If you want to create a new branch to retain commits you create, you may

 

do so (now or later) by using -b with the checkout command again. Example:

 

 

 

  git checkout -b new_branch_name

 

 

 

HEAD is now at a4043cb... 我的淘宝io7适配

 

longquantekiMacBook-Pro:Taobao2013 longquan$ 

猜你喜欢

转载自longquan.iteye.com/blog/1969865