Це відео не доступне.
Перепрошуємо.

GitHub branch rules (protect your git branches)

Поділитися
Вставка
  • Опубліковано 7 чер 2022
  • You can protect important branches by setting branch protection rules, which define whether collaborators can delete or force push to the branch and set requirements for any pushes to the branch, such as passing status checks or a linear commit history.
    Ge started with Open Source in 10mins
    • How to contribute to o...
    LEARN MORE
    JOIN our inclusive open source community EddieHub now for FREE ... eddiehub.org, also checkout my website and sign up to our community NEWSLETTER... eddiejaoude.io for my live stream + video schedule and community calls
    Also join our community GitHub organisation by creating an issue with the type "invite me to the organisation" :)
    I now have a 2nd UA-cam channel for short video clips of 60s or less, subscribe ...
    / eddiejaoudetv
    SERVICES I USE AND RECOMMEND
    Some of these might be affiliate links, no extra cost you to, but I get a little $ if you sign up, plus you might get a discount too
    - Live streaming with Streamyard links.eddiejaou...
    - Cloud hosting with Digital Ocean, you will get $100 FREE credit links.eddiejaou...
    - Membership, Newsletters, CRM all in one with Kartra links.eddiejaou...
    - Awesome backup platform, BackBlaze links.eddiejaou...
    - Descript for video editing, audiograms and transcription links.eddiejaou...
    - Riverside online recording studio for the best quality riverside.fm/?...
    COMMUNITY SPONSORS
    A BIG thank you to my GitHub Sponsors:
    ***
    DailyDotDev github.com/dai...
    Emma Wain github.com/ewainy
    ***
    - Yona github.com/Yoname
    - Santosh Yadav github.com/san...
    FIND ME ON OTHER SOCIAL PLATFORMS
    Don’t forget to support my channel by subscribing below, it’s free, and also share with your friends. Subscribe now!!
    www.youtube.co...
    Follow on other socials for behind the scenes footage, join discord to continue the conversation...
    eddiejaoude.io
    github.com/edd...
    / eddiejaoude
    / eddiejaoude
    / eddiejaoude
    / eddiejaoude
    / discord
    github.com/Eddi...
    Markdown crash course in 15mins!

КОМЕНТАРІ • 35

  • @eddiejaoude
    @eddiejaoude  2 роки тому +1

    Get a job by making your GitHub profile look professional, you can customise it by taking my FREE video and text course www.eddiejaoude.io/course-github-profile-landing

  • @abhaysingh8896
    @abhaysingh8896 Рік тому +3

    Awesome! Thank you for this. very helpful.

  • @ahmad-murery
    @ahmad-murery 2 роки тому +2

    Thanks Eddie, this is a nice video (no surprise) 👍

    • @eddiejaoude
      @eddiejaoude  2 роки тому

      Thank you Ahmad for the great feedback!

  • @jerome-weiss
    @jerome-weiss Рік тому +1

    I wonder why you don't set a status check in the "Require branches to be up to date before merging" setting?! The description says: "The setting will not take effect unless at least one status check is enabled (see below)."

  • @botvinay7079
    @botvinay7079 Рік тому +1

    Thank You for the Information sir :)

    • @eddiejaoude
      @eddiejaoude  Рік тому

      Thank you for the great feedback Vinay!

  • @hea4909
    @hea4909 Місяць тому +1

    Thank you.

    • @eddiejaoude
      @eddiejaoude  Місяць тому

      You're welcome! thank you for the great feedback

  • @aldrinseanpereira140
    @aldrinseanpereira140 2 роки тому +1

    Lets gooo!! great video Eddie!!

  • @PS-vj6jz
    @PS-vj6jz Рік тому +1

    Very Good, thanks.

  • @joelwalkley3902
    @joelwalkley3902 2 роки тому +2

    I wish GitHub would allow different merge strategies per branch. For example: Squash feature branches into develop; but environment branches get "regular" merges. Any guidance on how to accomplish that? Seems to me that option is either on/off for the whole repo and whatever method you did most recent is the button state at the next merge.

    • @eddiejaoude
      @eddiejaoude  2 роки тому

      yes unfortunately this is at a repo level not a branch level. I think the maintainers just need to be aware. You could have a GitHub Action that added a relevant comment depending on the destination branch, this would remind the person merging

  • @emilioortega9487
    @emilioortega9487 Рік тому +1

    Thanks for the video! At 3:06 when you metion about "Require status checks to pass before merging" how do you manage that check if you use jenkins for CI/CD instead of github actions ?

    • @eddiejaoude
      @eddiejaoude  Рік тому

      thank you for watching! If your Jenkins shows up as a check, then this will be included in the "required status checks"

  • @andyheld3136
    @andyheld3136 5 місяців тому

    How can i allow my pipeline to tag the main if prs are required by the rule? Can i give it permission without creating a pull request? The rule in general is absolutely useful, but the github action is the only exception.

  • @sanjaypaudel3296
    @sanjaypaudel3296 Рік тому +2

    is it possible to enable branch protection rules at the organisation level in Github so that all repositories part of that organisation inherit these rules for the applied branches. Right now its really a hassle to enable those same set of rules on a per repo basis for same set of branches.

    • @eddiejaoude
      @eddiejaoude  Рік тому +1

      I am not aware this is possible yet, but I am sure in the future there might be a way to do it at the organisation level

  • @joeltastet5666
    @joeltastet5666 2 роки тому

    I don't understand fully what you speak about the branches option because I used it only once when I discover the basics on Git and it was in a basic level.

    • @eddiejaoude
      @eddiejaoude  2 роки тому +2

      I will try to explain a bit more, git can have branches, but these branches can be protected on github so even if someone has permission to push to that branch, they need to follow more rules

    • @joeltastet5666
      @joeltastet5666 2 роки тому

      @@eddiejaoude Okay

  • @Xaalek
    @Xaalek 7 місяців тому +1

    You look like that guy in Ex Machina

  • @lashaunanichols7003
    @lashaunanichols7003 Рік тому

    Super weird... i just made a repo and i dont see a "Branches" option on the left hand side.

    • @eddiejaoude
      @eddiejaoude  Рік тому

      Oh strange, can you join us in the EddieHub Discord and you can share some links and screenshots

  • @user-wu7ni1gc2o
    @user-wu7ni1gc2o 9 місяців тому

    how do i add username or mail id associated with github which triggers a mail asking for approval when someone pushed code into main branch

    • @eddiejaoude
      @eddiejaoude  9 місяців тому

      click on watch the repo and you will get all notifications

  • @antonyshaji2008
    @antonyshaji2008 2 місяці тому

    6:13

  • @JohnSmith-zl8rz
    @JohnSmith-zl8rz Рік тому

    this feature is not free?