Write git commit messages like a PRO with Conventional Commits

  Рет қаралды 114,150

Justin Brooks

Justin Brooks

Күн бұрын

Пікірлер: 42
@harshkhare7084
@harshkhare7084 Жыл бұрын
Came for a coin, and found a goldmine. I was just searching how to write a SIMPLE message while committing a code. Ended up learning about Conventional Commits 1.0.0 and SemVer and made my repo more professional. My project evaluator was IMPRESSED. A big thanks to you, Bro. Keep up the good work 👍🏻
@editoraholic
@editoraholic 7 ай бұрын
Hi Bhai,
@rabeehta222
@rabeehta222 4 жыл бұрын
my commit messages are always trash, this was very informative.
@MavMoZu
@MavMoZu 4 ай бұрын
TOP was here hehe
@danieljimenezG
@danieljimenezG 4 жыл бұрын
I have been avoiding to write good commit messages, because we are just 2 persons. This video motivates me to do it, thank you!
@CodingWithJustin
@CodingWithJustin 4 жыл бұрын
I'm so glad! It really helps my workflow
@harunjonuzi
@harunjonuzi Жыл бұрын
I swear i was looking at some repos in github and I really loved and was curious to know what kind of structure they were following, this video is a gem explaining everything in simple terms and examples, very well done friend!
@codephil
@codephil Жыл бұрын
Best video I have seen on this!! Would love to get a follow up with a more complex example, and maybe some more guidance on documenting things in general and using issues in github.
@jsnam8139
@jsnam8139 3 жыл бұрын
My commit message was like "sadfjhkasfk" lol
@RussellTeapot
@RussellTeapot 2 жыл бұрын
Oh Lord ahahahahah
@DraxTheDestroyer
@DraxTheDestroyer 3 ай бұрын
If one day your boss fires you, the reason on the official document will be "sadfjhkasfk" 🤣
@jsnam8139
@jsnam8139 3 ай бұрын
@@DraxTheDestroyer 😂😂😂
@CrushedAsian255
@CrushedAsian255 2 ай бұрын
git commit -m “idfk”
@notrhythm
@notrhythm Ай бұрын
"made some changes"
@captainobvious7898
@captainobvious7898 Жыл бұрын
Liked this video until you started typing yarn commands and then I got lost. I thought this is a git commit message video. What is yarn? I guess I have to go away and figure that one out and them come back.
@zafimamyjaryavitsara5312
@zafimamyjaryavitsara5312 3 жыл бұрын
Thank you so much ! I have an internship now and thisis very helpfull !!!
@boomerangfish3558
@boomerangfish3558 3 жыл бұрын
holy shit, congrats dude!
@riiya7928
@riiya7928 2 жыл бұрын
What's the commit name for fixing styling on frontend?
@tonimaunde
@tonimaunde 4 жыл бұрын
Thank you for the video.
@hongbo-wei
@hongbo-wei 2 ай бұрын
Thank you!
@TechReagan
@TechReagan 3 жыл бұрын
This is awesome, love the way you explain things. Now I'm going to be using these conventions. You are the best. What's your thought on using git client?
@CodingWithJustin
@CodingWithJustin 3 жыл бұрын
I love them, I use GitKraken
@jondoe79
@jondoe79 4 жыл бұрын
This channel content is precise and conscience 👍 keep it up bro.
@ricardocastillo9712
@ricardocastillo9712 3 жыл бұрын
How would you create a changelog for python or java?
@shubhamjain54519
@shubhamjain54519 2 жыл бұрын
2:04 why should we use imperative for the description?
@pontusdevelopment9284
@pontusdevelopment9284 Жыл бұрын
Not the creator of the video, but I'll reply just in case someone sees this and wants to know as well. It is usually thought to be a good idea to write in imperative form because you are implicitly telling the machine what to do when the commit is added to your repo. So let's pretend that you are building a website, and the commits are a string of messages going directly to the machine that is hosting that website. "commit 1: added a button that is blue" "commit 2: translated header text from English to Latin" The computer, in this very contrived example, wouldn't be able to make sense of that list as opposed to: "commit 1: add a blue button in card component" "commit 2: translate header text to English" Now, this is the primary reason most blogs etc use for their examples, that the commit should be a _command_ so that you can easily read what exactly each commit does to the codebase once it is applied - and this is a legit reason to use it for many. However, two other good reasons that people have stated are; 1: It forces the developer to write a better, more specific commit message because it needs to be distilled into its purest form in order to be a command, and 2: It gives you a simple way to notice if you might have done _too much_ work for it to be one commit, and maybe it should be split into several, smaller? If the commands become something like "Add blue button, remove border on header logo, reduce complexity of state by colocating with related component, make the world a better place" you might realise how it's time to split that one into several, especially the last commit :-) Splitting a large pull request into many smaller ones, or at least into many smaller commits is a really good idea if you want to have an easy time with code reviews in your project. It makes it _way_ easier to read and understand each other's code that way. At the end of the day, there is no Council of Coders™ that will banish you from the land of binary trees and search algorithms just because you use past tense rather than imperative when writing commit messages. So long as the project you are in have an agreed upon way of writing commit messages so that it makes sense for the project and is easy to track the history if something goes awry, that's all that matters. It _is_ worth pointing out though, that Git themselves prefer to write commit messages using imperative form. Do with that what you will :-)
@shis10
@shis10 Жыл бұрын
Amazing video
@Kevinschart
@Kevinschart Жыл бұрын
would've been nice to see you actually do this in the terminal instead of the slid show
@phill13able
@phill13able Жыл бұрын
Me: "Work in progress" "Work in progress" "Work in progress" "Work in progress" "Work in progress" ...
@ziep7457
@ziep7457 Ай бұрын
video was good, last section lacked context, watched it twice, still didn't understand it.
@luisrnandezc
@luisrnandezc 2 ай бұрын
The video was useful until min 3:00. I don't get the need to go at warp speed on a "how-to" video.
@SenthuranElangovan
@SenthuranElangovan 3 жыл бұрын
Please Make simple tut series for Vue3 with Typescript and composite API
@SenthuranElangovan
@SenthuranElangovan 3 жыл бұрын
Thanks man
@masoudhesami1382
@masoudhesami1382 Жыл бұрын
sooooooooo usefull
@chhumchanleak7642
@chhumchanleak7642 6 ай бұрын
great
@magiccubing2587
@magiccubing2587 3 жыл бұрын
Najs👍👍
@B_E_Technology
@B_E_Technology 13 күн бұрын
top.... yarn ?
@mertgenc9890
@mertgenc9890 2 жыл бұрын
my commit message was "changes" lmao
@xena8_8
@xena8_8 2 жыл бұрын
A little too fast but good :)
@SovereignThrone
@SovereignThrone 3 ай бұрын
yes, especially the last part is a little quick :d
@memegalore257
@memegalore257 Жыл бұрын
Judging from the thumbnail I thought it was @fireship for a second😅
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
Fireship
Рет қаралды 920 М.
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
РОДИТЕЛИ НА ШКОЛЬНОМ ПРАЗДНИКЕ
01:00
SIDELNIKOVVV
Рет қаралды 3,9 МЛН
How it feels when u walk through first class
00:52
Adam W
Рет қаралды 21 МЛН
Git Commit Message - You Are Not Doing It Correctly
7:57
Monsterlessons Academy
Рет қаралды 34 М.
I Do this for every commit and why you should too!
12:40
CoderOne
Рет қаралды 24 М.
How to commit better with Git
11:41
Kie Codes
Рет қаралды 18 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,2 МЛН
How to Make Actually Good Commits in Git
8:17
Eric Murphy
Рет қаралды 7 М.
Precommit Hooks Are Bad
2:13
Theo - t3․gg
Рет қаралды 58 М.
Git Tutorial: Fixing Common Mistakes and Undoing Bad Commits
21:31
Corey Schafer
Рет қаралды 383 М.
How to be a git expert
46:26
Floating Little Leaves of Code
Рет қаралды 165 М.