Git: Renaming files with EGit causes deletion of file history

I use Eclipse EGit plugin to work with git repository.
(I even use it for local projects to track changes made by tools.)

However I discovered problem that makes usage for team projects not so good:
When renaming a folder or file, I get to commits 2 items:
1 to add as new, and 1 to delete.
This way there is no history who & when edited this file, no way to look back at evolution.

  • Dissapearing Git Repository in eGit
  • Eclipse + EGit: clone project into workspace
  • EGit - SSH Fails at Passphrase (when connecting to GitHub)
  • EGit with Eclipse, what does this mean?
  • Eclipse 'Unhandled loop exception' on Team > Commit
  • Egit staged after commit?
  • This problem is likely not caused by EGit, but git.
    See answer for Renaming in Git and Mercurial: Accuracy and automaticity

    How to keep history of files when a lot of refactoring and renaming is going on?

  • Unexpected merge conflict with git
  • Git commit all files
  • Proper git etiquette for users working in mostly-isolated branches?
  • The diff tool in Visual Studio when using the Git Plugin
  • git clone into home directory
  • Git Bash: Launch Application via Alias without hanging Bash (WIndows)
  • 3 Solutions collect form web for “Git: Renaming files with EGit causes deletion of file history”

    See the Git FAQ, section Why does git not “track” renames?,

    This however does not answer how to keep history when usit EGit in Eclipse.
    I need to try

    p.s. Link for EGit. // Thanks to jszakmeister

    Note that with EGit 3.0, Rename detection was added to the file diff viewer in the History view and Commit editor (bug 335082):

    rename detection with EGit 3.0

    See git help log, particularly the –follow option.

    Don’t know how to do this in Egit, though, but if Egit isn’t doing what you want, why not use other tools to supplimement the basic functionality?

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