Matrosov Alexander Matrosov Alexander - 2 years ago 115
Git Question

Changing info issue using git commands

I found this link to understand how to rename author name and email

But it worked for me just for the first time. Now I get this error in terminal:

Cannot create a new backup.
A previous backup already exists in refs/original/
Force overwriting the backup with -f

Answer Source

Add a -f flag for the git filter-branch command. For example, change the first line of the script from this:

git filter-branch --env-filter '

to this:

git filter-branch -f --env-filter '
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download