Git Flow vs GitHub Flow: What You Need to Know

  Рет қаралды 25,764

Alex Hyett

Alex Hyett

Күн бұрын

Пікірлер: 40
@EnternodeCS
@EnternodeCS 2 жыл бұрын
At my company, we use "Git Flow except everyone forgot the main branch exists and not everyone understands what a feature branch is"
@alexhyettdev
@alexhyettdev 2 жыл бұрын
Interesting! I have seen this at one company I worked at. We were trying to put all changes to the database in git. Main and develop always got out of sync though as we weren’t deploying from the code in source control.
@dmoth1610
@dmoth1610 9 ай бұрын
We do GitHub flow and we publish with each commit to main (creating a docker image), but we only automatically deploy to a dev environment. Production deployment is done by hand, and not every version number is deployed there.
@WolfElectronicS
@WolfElectronicS 9 ай бұрын
We use github flow, and it's sooo good compared to other teams using gitflow. We're much faster rolling out changes to prod, and since we have unit + integration tests running on our branch pipelines, we're normally sure the branch is safe to be merged to master
@brackloon4584
@brackloon4584 Жыл бұрын
Excellent info on these branching strategies. Thanks.
@alexhyettdev
@alexhyettdev Жыл бұрын
Thank you. Glad it was helpful!
@eccololo
@eccololo 7 ай бұрын
Thank you Alex for great lecture. This video is most helpful 🙂.
@alexvechirko_
@alexvechirko_ 5 ай бұрын
thanks for the video! *and the bloopers section is great!)))
@bmfitzgerald3
@bmfitzgerald3 Жыл бұрын
Dude, you nailed it! Great content. I request more Git goodies ... Not sure if this is in your wheelhouse, but if it is, help us all become Git masters. There is a lot of content out there, but there are also a ton of gaps past the beginner and intermediate levels. Good luck w/ the channel! Subscribed
@alexhyettdev
@alexhyettdev Жыл бұрын
Thanks! Yes I will definitely do some more content on Git in the future, there is a lot to cover there.
@muhammaddavlatov9824
@muhammaddavlatov9824 Жыл бұрын
thank you very much, it helped to understand the difference..
@alexhyettdev
@alexhyettdev Жыл бұрын
You’re welcome. I am glad it was helpful.
@jjslocum3
@jjslocum3 2 жыл бұрын
Read your post on HN. Great post, and best of luck on your KZbin odyssey!
@alexhyettdev
@alexhyettdev 2 жыл бұрын
Thank you very much!
@afei_yoo
@afei_yoo 10 ай бұрын
Great content. It does really help me a lot
@rajadas6432
@rajadas6432 9 ай бұрын
Thank you. Is the Github flow same based trunk based branching strategy?
@galileemason8813
@galileemason8813 Жыл бұрын
thank you very much it was very clear !
@alexhyettdev
@alexhyettdev Жыл бұрын
You’re welcome, I am glad it was helpful!
@heyamjoe
@heyamjoe Жыл бұрын
Great video, Alex. Thanks.
@alexhyettdev
@alexhyettdev Жыл бұрын
Thanks Joe, I am glad you liked it.
@bladbimer
@bladbimer 4 күн бұрын
What about having main (prod), dev (used for qa too) and feature branches (1 by dev feature) ?
@soufianeodf9125
@soufianeodf9125 6 ай бұрын
But you didn’t talk about the difference between a version and a release, because you could create a new version without creating a release, can you give an explanation about this case please ? Thank you
@OmarMcIver
@OmarMcIver Жыл бұрын
Those bloopers are what triggered my subscribe click :D Awesome-sauce.
@alexhyettdev
@alexhyettdev Жыл бұрын
🤣 I should make that a regular thing. Wasn’t sure anyone watched until the end!
@MatthewKennedyUK
@MatthewKennedyUK 4 ай бұрын
Do you rebase any of these?
@DigitalLearnHub-pz6oq
@DigitalLearnHub-pz6oq 4 ай бұрын
🧠obrigado irmão!
@jcy089
@jcy089 4 ай бұрын
My previous state owned company introduced scrum but teams weren't cooperative and nobody used Git properly, so the new scrum master was always bouncing from team leader to team leader asking for progress 😂
@vishalkarthik.v7209
@vishalkarthik.v7209 Жыл бұрын
Actually i had doubt Aex , does the source control branches remains same regradless of the platform , suppose lets say we have 5 branches in Git , will the same be present in bitbucket and other platforms Thanks in advance!
@alexhyettdev
@alexhyettdev Жыл бұрын
Yes they work across platform as they are just a function of git. It is possible to mirror repositories from GitHub to Bitbucket but I haven’t done it myself before.
@vishalkarthik.v7209
@vishalkarthik.v7209 Жыл бұрын
@@alexhyettdev tqsm 😁
@vishalkarthik.v7209
@vishalkarthik.v7209 Жыл бұрын
What is the diffrence between dev andsandbox system ? Kindly can you tell if you have a idea Thanks in adavance
@alexhyettdev
@alexhyettdev Жыл бұрын
It depends on the company but places I have worked great them as the following: DEV: Every commit to develop gets deployed here. Can be unstable mainly used for developer testing. SANDBOX: I worked in payments so the sandbox environment was also open to the public to use for testing. We treated this as a pre production environment and only production ready releases went here.
@vishalkarthik.v7209
@vishalkarthik.v7209 Жыл бұрын
@alexhyettdev thank you Alex 😊
@bonniesimon14
@bonniesimon14 2 жыл бұрын
A subscriber from hackernews
@alexhyettdev
@alexhyettdev 2 жыл бұрын
👋 Thanks for subscribing!
@fluffysheap
@fluffysheap Ай бұрын
I have never been able to comprehend why git flow has two different release branches. Development/trunk/whatever? Sure. Feature branches? Sure. Release branch? Sure. And then you have the main/master/whatever, which seems to exist only for the sake of existing. It's a pointless ritual and no one ever seems to quite know what's in there. No wonder it appeals to teams using scrum! Individual developers know what's in their own feature branches. The lead developer / whoever does the integrations and pull requests knows what's in the development branch. The testers know what's in the release branch. And absolutely no one knows what's in main/master.
@alliedatheistalliance6776
@alliedatheistalliance6776 10 ай бұрын
I think eventually we'll just discard all the agile/ scrum/ sprint nonsense and base development around git or github practises. ie no stupid daily standup and scrum master, just a merge meeting between a branch/ main master and people working on a feature branch or soemthing like that. That way you can define best practises but actually tie them down to something tangible without needing endless books on project management buzzwords.
@windows99
@windows99 2 жыл бұрын
Sounds like sponsored video of GitLab
@alexhyettdev
@alexhyettdev 2 жыл бұрын
Haha if @GitLab wanted to sponsor me that would be awesome. I just think it is call that you can have your self hosted Git setup.
Everything You'll Need to Know About Git with ThePrimeagen | Preview
14:43
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 13 МЛН
Что такое Git flow и когда использовать?
11:44
PurpleSchool | Anton Larichev
Рет қаралды 68 М.
Continuous Integration vs Feature Branch Workflow
17:31
Continuous Delivery
Рет қаралды 192 М.
Domain Driven Design: What You Need To Know
8:42
Alex Hyett
Рет қаралды 140 М.
Idempotency - What it is and How to Implement it
8:05
Alex Hyett
Рет қаралды 18 М.
Branching Strategies Explained
18:19
DevOps Toolkit
Рет қаралды 142 М.
Git patterns and anti-patterns for successful developers : Build 2018
20:26
Microsoft Developer
Рет қаралды 129 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 305 М.
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,2 МЛН
Learn Git - The Full Course
4:20:00
Boot dev
Рет қаралды 52 М.
Getting started with branching workflows, Git Flow and GitHub Flow
10:30