Git: update date and name to commits

| 0 comments

0.00 avg. rating (0% score) - 0 votes

Git logo

A lot of time, I had to modify the text of my commit since I’m using a versionning system. Modifying the last commit comment is something common:

However, modifying the date is not so common. You may want to do it for several reasons (stats or similar), here is how to:

This will change the last commit with the current date.

The last thing I wanted to do is modifying the author. Because I’ve a personal and professional GitHub account, I made mistake several times using the wrong account. Here is a solution to rename author commits:

If you want to know more about some git tips, you can look at my wiki page.

Hope this will help

Author: Deimos

I'm a passionate DevOps. I love transmit my skills and I love working on high availability infrastructures/technologies.

Laisser une réponse