In Linux, I use Netbeans a lot as a diff viewer. For now, I think it’s the best diff viewer in Linux with side by side comparison and its easy to navigate UI. Plus, it’s free.
Recently, I noticed that there are other authors with a different name in my Git’s history. Apparently, I’ve accidentally committed into the repository using a different author’s name and email. This is mainly due to the way Netbeans stores author’s information history.
So, in order to fix it, I ran this little script from Github in my master branch.
To push it into the server, I need to use
git push -f instead of
git push. If you use the latter command, you’ll end up with a merged history (every commit will have another one identical to it).
If you use Redmine, you may need to fetch change set. Just run this command in your Redmine’s directory:
script/runner "Repository.fetch_changesets" -e production
Netbeans committer’s info are stored in (change the path based on your version):
Written by Amree Zaid