3 Ways to Sync a Forked Repository on GitHub AUTOMATICALLY | Automate GitHub

Поделиться
HTML-код
  • Опубликовано: 3 июл 2024
  • Learn how to keep your GitHub forked repo up-to-date. In this video I'm showing you 3 ways on how to automatically update a forked repository in GitHub.
    These methods will allow you to automate GitHub to sync a forked repo with the upstream one, also thanks to the power of GitHub Actions!
    🌟EXCLUSIVE CONTENT🌟
    Do you want to access exclusive content, live chats and Q&As, polls, and even 1:1 calls with me? Join my Patreon: / coderdave
    🆘 NEED HELP? 🆘
    Book a 1:1 Consultation with CoderDave: geni.us/cdconsult
    🙏🏻SUPPORT THE CHANNEL🙏🏻
    Buy me a coffee: www.buymeacoffee.com/CoderDave
    PayPal me donation: paypal.me/dabenveg
    🎥VIDEOS
    ► Use GitHub Like a PRO: • Use GitHub like a PRO!...
    ► Automate EVERYTHING with GitHub Actions: • Automate EVERYTHING wi...
    ► Environments and APPROVALS in GitHub Actions: • GitHub Actions: Approv...
    💬JOIN THE COMMUNITY
    ► Discord: geni.us/cddiscord
    ► Newsletter: coderdave.io/newsletter
    ► Blog: dev.to/n3wt0n
    ► GitHub: github.com/n3wt0n
    ► Twitter: / davidebenvegnu
    ► Facebook: / coderdaveyt
    ⏲TIMESTAMPS
    0:00 Intro
    0:26 First Way
    1:04 Second Way
    4:28 Third Way (automate!)
    6:21 Final Thoughts
    📄RESOURCES
    ► GitHub API Authentication: docs.github.com/en/rest/guide...
    🎤PODCAST: geni.us/cdpodcast
    ❓QUESTIONS?
    Have a question about DevOps, Cloud, Coding, or Anything Else? Post in comments section of this video!
    🔴SUBSCRIBE to CoderDave here: ruclips.net/user/CoderDave?sub...
    _______________
    👕Get my MERCH: geni.us/cdmerch
    🔮TOOLS I USE
    ► Twingate - Connect to your Private Resources SECURELY: geni.us/twingate
    ► TubeBuddy - #1 RUclips channel Management tool (FREE): www.tubebuddy.com/CoderDave
    ► Moosend - Free Newsletter and Automation Platform: geni.us/moosend
    📸🖥️GEAR AND SOFTWARE
    ► Music - Epidemic Sound (Get 30 days free): epidemicsound.com/referral/zf...
    ► Editing - Adobe Premiere Pro: geni.us/AdobeVideo
    ► Gear I Use for RUclips: kit.co/CoderDave/gear-i-use-f...
    ► Gear I Use for Streaming: kit.co/CoderDave/gear-i-use-f...
    ► My Computer Setup: kit.co/CoderDave/main-compute...
    ► Full office setup: github.com/n3wt0n/work-from-h...
    Disclaimer:
    Some product links are affiliate links which means if you buy something I'll receive a small commission at no additional cost to you.
    As an Amazon Associate, I earn from qualifying purchases.
  • НаукаНаука

Комментарии • 8

  • @CoderDave
    @CoderDave  2 года назад

    ✨ Question of the day ✨: How do you sync your forked repos?
    GET EXCLUSIVE CONTENT: www.patreon.com/CoderDave
    SUPPORT THE CHANNEL :
    Buy me a coffee: www.buymeacoffee.com/CoderDave
    PayPal me donation: paypal.me/dabenveg

  • @user-hq8xb5ww5e
    @user-hq8xb5ww5e 6 месяцев назад

    where do I need to create the github tokens like on the main original repo or on the fork repo

    • @CoderDave
      @CoderDave  6 месяцев назад

      Tokens are not relative to repos, they belong to users.

  • @asm-0011
    @asm-0011 2 года назад +1

    Hi. I was trying to fork a private repository through the third way using github actions and its always failed. It seems to be working fine with public repository. Can you please help me with this ?

    • @CoderDave
      @CoderDave  2 года назад

      Hey. To me that sounds like the PAT you are using doesn't have enough privileges for accessing that private repo

  • @Tavdog
    @Tavdog Год назад

    What about git fetch upstream ; git merge upstream/master

  • @nicolasmoura59
    @nicolasmoura59 Год назад

    To use the Github Action, the token should have which permissions?

    • @CoderDave
      @CoderDave  Год назад

      Just the repo permissions (sorry for the late reply)