Git reload interactive blank identity

I am trying to execute a terminal git rebase -i some_committhrough 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 resetto set HEADrebase to commit
  • manually, cherry-pickeach 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?

+3
source share

Source: https://habr.com/ru/post/1692415/


All Articles