ShamrockLee wrote:

Some commits doesn't relate to the GitHub account correctly. This may result 
from incorrect `user.name` and `user.email` settings in your local Git 
repository.

![Screenshot_20231223-190834_GitHub_1.png](https://github.com/llvm/llvm-project/assets/44064051/41b65792-20da-4c1a-9ed6-8fa44545f482)

This error can be inspected by comparing the `From: ` field of the following 
patches:

Misconfigured: 
https://github.com/llvm/llvm-project/commit/0eb58740f33f2eef29c28e43e78118f9f0eea4b4.patch

Correct: 
https://github.com/llvm/llvm-project/commit/5e6326fb1cf4f1591fe927c94b1d16d1a7be0e66.patch

This can be fixed by

```sh
gt config user.name "Nhat Nguyen"
git config user.email "nhat7...@gmail.com"
git fetch <renome name>
git branch 71675-backup 71675
git switch -C 71675 <remote name>/71675
git rebase --exec "git commit --amend --reset-author --no-edit" HEAD~4
### Double check before proceeding
git push -f <remote name>
```

https://github.com/llvm/llvm-project/pull/75902
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to