Issues with .mailmap, commit_msg

What happens

When making the commit, Ive 3 errors.

What do you understand or find about that problem

In the Mailmap it doesn’t find me, although I make the commit to be able to add my user.
The commit_msg, how do I do it from the terminal?
I tried to do the check_date with the time +5 hours but it still fails.

Evidences

https://gitlab.com/autonomicjump/challenges/-/jobs/4626342002
https://gitlab.com/autonomicjump/challenges/-/jobs/4626342005
https://gitlab.com/autonomicjump/challenges/-/jobs/4626342006

I need help with

I need help to solve this

As you can see the format in which you sent the .mailmap is wrong. Please check it.

https://gitlab.com/autonomicjump/challenges/-/commit/56a0f491e9e43973cf927b89acfca24c5e069873

Regards,

Thank you very much, I already solved it, but I still have the date error.
image

The date is fine, and it continues with the rules of +5 hours, but it continues to return the error.
Any ideas?

Generally, you should add 5 hours to the date shown in the git log.

1- You have to commit
2- Then check the exact time of the commit using “git log” in the terminal
3- Change the date. example: “Date: Mon Jul 10 13:27:11 2023 -0400” => “2023-07-10 17:27:11Z”
4- Stage and commit using the terminal “git commit --amend --no-edit”

2 Likes

The error continues, although the time is already corrected based on the git log solution.
https://gitlab.com/autonomicjump/challenges/-/commit/b88e44ee3971fcea5e41303e15213c576b3354d5#9c9866c743568008e6d25260a348e262f1b7513b

Maybe is because you have -0500 not -0400 so this “2023-07-10 18:17:27” have to be this “2023-07-10 19:17:27”

The error continues.
I don’t really understand how the date should be or how it works.

According to this, your commit should be…

“2023-07-10 17:17:27”

1 Like

Well, first you have to set the local time zone in your github profile. Example: for colombia is UTC−05:00
Later check the date in the git log and add 5 hours to the total. Example: 10:00 + 5 = 15:00

Perfect
I can then use each commit as a reference to calculate the time.

Thank you.

1 Like