Git Commit Message - You Are Not Doing It Correctly

preview_player
Показать описание
Learn how to write git commit message in 10 minutes. It will make your git commit messages look more professional and simplify finding problems in git hostory later, other people will see that you are a skilled programmer and it will make git blame, revert, rebase and log easiert to do

FOLLOW ME

RECOMMENDED VIDEOS

MY COURSES
Рекомендации по теме
Комментарии
Автор

Great explanation! I wish my university had taught us more about the features with Git and the importance of writing good commit messages. I never even knew that omitting the -m would open the message editor! Thanks a ton!

kingnehmna
Автор

This comes in handy whilst I'm working on settling on a standardised format for our commits. Many thanks.

antoniodevcodes
Автор

So helpful, I used to make lots of misunderstanding while programming. I 'm sure now I will resolve them.

cterogene
Автор

Your tutorials are so helpful! I'm glad I came across your channel

advance
Автор

the -m flag was causing me so many issues with my commit messages. git commit. Thats the way! Thanks

scottldn
Автор

1:43 Actually, you can set subject (title), body, footer, or whatever u want without the need to open a text editor. Just use three "-m" (e.g. git commit -m 'subject' -m 'body' -m 'footer'). For the break lines, in your terminal, it's possible to open quotes and press enter, it'll understand that as a break line, like this:
git commit -m 'subject' -m 'very very very very
> long
> body
> with four lines' -m 'footer'

fcksoss
Автор

It should be an imperative sentence describing what applying a patch will do. That is correct. Your first example of a "good" history uses past tense, however.

theherk
Автор

that's the video that i was needed, one more subscribed. thanks

alexandrekevinrodriguesdin
Автор

Thank you so much. I appreciate your work.

sm
Автор

Hey Great Lesson, my only question is after running the commit command and writing a multi line comment, What is the next step to saving the commit, for me it's stuck inside of the commit message. Do i Press command Q or command S. Eitherway fantastic lesson on commits.

nicholasbenjamin
Автор

do you know how to split git in angular workspace multiple apps ?

sugiono
Автор

my git commit doesn't work that way..no option to add notes

Kevinschart
Автор

please, enable subtitles in your videos, tks! Brasil here ! Great video.

julio
Автор

Брат, спасибо тебе! Раньше коммитил как бомж - сейчас знаю, как правильно

szhtlyy