How to go to previous commits in eclipse and egit

I have a git android project managed in eclipse and some times i want to temporarily roll back my android project to a specific time and then build it and do stuff and then restore to the latest version.
How is this possible?

  • Eclipse EGIT: Current branch not configred for pull
  • Commit project not showing Commit Changes to Git Repository pop up window in eclipse
  • Aptana Git plugin standalone
  • How to download all possible maven dependencies so they are local
  • Restore Eclipse subversion project connection
  • How can I do the equivalent of git rebase -i HEAD~2 in eGit?
  • GitHub: URL to raw files
  • Extracting subdirectory from a git repo into another repo and keeping dir structure?
  • Eclipse egit clone failed: Unexpected end of file
  • How to use Git?
  • How to get list of commits that touched a given line of code (git)
  • How can I let Git push/pull through Windows 7 Firewall?
  • One Solution collect form web for “How to go to previous commits in eclipse and egit”

    To check out an old state:

    1. Open the History view for the repository
    2. Select the commit at the time you want
    3. Context menu > Checkout

    When you want to go back, just select the commit where master is (or the branch you were working on before) and select Checkout again. Because there is a branch there, it will automatically check out the branch instead of the commit.

    Note that you may also have to enable “Show All Branches and Tags” in the history to see master in the history view, see the section in the user guide about this.

    Git Baby is a git and github fan, let's start git clone.