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.

  • EGit SSH Exception caught during execution of ls-remote command
  • How do I get git to stop changing newlines in my files?
  • How do you do merges using Git, Eclipse and Egit
  • Eclipse Git plugin - remove file from repo without deleting local
  • Eclipse with EGit, git-blame info is hard to see
  • git - duplicate parent
  • 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?

  • What is `git checkout --orphan` used for?
  • Post-Update Git Hook Not Finding Directory
  • Git submodule update from post-receive hook
  • How to see whats changed between last commit and now(after making some changes)
  • Git/gitk shows me unknown/invalid sha1 id for a folder but not from its parent folder.
  • Getting fatal: object is corrupted when pushing to a remote repo
  • 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

    http://wiki.eclipse.org/EGit/User_Guide#Configuring_the_View

    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.