I am trying to execute a terminal git rebase -i some_commit
through Bash in WSL in order to basically remove the first commit in the list and apply the remaining ones.
After the first reduction in commit on the stack of selected commits, rebase cannot continue complaining about an empty commit / email file:
fatal: empty identy name (for <my_pc_username@my_pc_name.my_domain_name) not allowed
The double checked gitconfigs (repo-specific and global) and the user.name and user.email configurations are set correctly, as expected, since I made these commits on the same computer.
I tried to give out git commit --author
, but git continued to complain that the identity was not established.
PS: Alternatively, I tried a different approach:
git reset
to set HEAD
rebase to commit- manually,
cherry-pick
each of the remaining residues reba commits
... and it is still not clear which identity git does not find / select and is not valid.
Since the error, provided that the identifier is not empty ; instead, it corresponds to the user information / computer Windows of my car , and really, it's not the same as mine user.name
, anduser.email
the assumptions that I could have some incompatibility between the two pairs.
Any idea how to get around rebase and successfully complete it?
source
share