HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Change git commit message after push

27,478 views November 15, 2015 7:44

Watch on YouTube
ChannelNucleus

Description from the creator

Edit an incorrect commit message in Git and github.
The hash for every Git commit is also calculated based on the commit message. When you change the commit message, you change the commit hash. If you want to push that commit, you have to force that push (git push -f). But if already someone pulled your old commit and started a work based on that commit, he would have to rebase his work onto your new commit.
Way to edit a commit message in github.

About this tutorial

Nucleus published this 7:44 video tutorial on November 15, 2015. It has been watched 27,478 times on YouTube.

Channel
Nucleus
Category
Education
Duration
7:44
Published
November 15, 2015
Views
27,478
Likes
102

Tags

Share

This tutorial in other languages