zoukankan      html  css  js  c++  java
  • recover all files with git

    leon@DGLIRUAN2 /F/linux/android/leon/workspace/AngoWidget (master)
    $ git log
    commit 2f847e3a858ecb2f843e7820cd8eaedf2ec7102d
    Author: leon <llrraa@qq.com>
    Date:   Mon Jul 14 23:38:58 2014 +0800

        alarm working, but every time it sets another timer where it goes into on
        receive

    commit bc389c0b0a6795995351db5f41efdabbca169028
    Author: leon <llrraa@qq.com>
    Date:   Mon Jul 14 20:42:39 2014 +0800

        still not working. try the initial one

    commit 35a68f4480347a3cbabb7d2febaabac90a10c275
    Author: leon <llrraa@qq.com>
    Date:   Mon Jul 14 13:54:16 2014 +0800

        view is ok now

    commit 352a1d2f7a038d83e5e732948e2a10e3d7ce42ee
    Author: leon <llrraa@qq.com>
    Date:   Mon Jul 14 13:25:30 2014 +0800

        periodically update not working yet


    $ git checkout 352a1
    D       .classpath
    M       .project
    D       AndroidManifest.xml
    D       ic_launcher-web.png
    D       libs/android-support-v4.jar
    D       proguard-project.txt
    D       project.properties
    D       res/drawable-hdpi/ic_launcher.png
    D       res/drawable-mdpi/ic_launcher.png
    D       res/drawable-xhdpi/ic_launcher.png
    D       res/drawable-xxhdpi/ic_launcher.png
    D       res/layout/activity_main.xml
    D       res/layout/fragment_main.xml
    D       res/menu/main.xml
    D       res/values-v11/styles.xml
    D       res/values-v14/styles.xml
    D       res/values-w820dp/dimens.xml
    D       res/values/dimens.xml
    D       res/values/strings.xml
    D       res/values/styles.xml
    D       res/xml/appwidget_info.xml
    D       src/com/ango/angowidget/MainActivity.java
    Note: checking out '352a1'.

    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 352a1d2... periodically update not working yet

    git checkout --   AndroidManifest.xml
    git checkout --   ic_launcher-web.png
    git checkout --   libs/android-support-v4.jar
    git checkout --   proguard-project.txt
    git checkout --   project.properties
    git checkout --   res/drawable-hdpi/ic_launcher.png
    git checkout --   res/drawable-mdpi/ic_launcher.png
    git checkout --   res/drawable-xhdpi/ic_launcher.png
    git checkout --   res/drawable-xxhdpi/ic_launcher.png
    git checkout --   res/layout/activity_main.xml
    git checkout --   res/layout/fragment_main.xml
    git checkout --   res/menu/main.xml
    git checkout --   res/values-v11/styles.xml
    git checkout --   res/values-v14/styles.xml
    git checkout --   res/values-w820dp/dimens.xml
    git checkout --   res/values/dimens.xml
    git checkout --   res/values/strings.xml
    git checkout --   res/values/styles.xml
    git checkout --   res/xml/appwidget_info.xml
    git checkout --   src/com/ango/angowidget/MainActivity.java


  • 相关阅读:
    jdk和jre是什么?都有什么用?(转帖)
    滚动栏范围位置函数(SetScrollRange、SetScrollPos、GetScrollRange、GetScrollPos)
    C#异步调用
    编译hadoop2.2.0源码时报错
    项目中登陆页面的显示
    VB读写Excel
    C socket demo
    java设计模式----单例模式
    poj3358数论(欧拉定理)
    Java实现 蓝桥杯VIP 算法训练 排列问题
  • 原文地址:https://www.cnblogs.com/zsychanpin/p/7172925.html
Copyright © 2011-2022 走看看