Git Submodules Explained: Tutorial | Example | Guide | GitHub | Update | GitModules | Git Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ค. 2024
  • 🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
    ▬▬▬▬▬ Experience & Location 💼 ▬▬▬▬▬
    ► I’m a Senior Software Engineer at Juniper Networks (12+ years of experience)
    ► Located in San Francisco Bay Area, CA (US citizen)
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    ► LinkedIn: / anton-putra
    ► Twitter/X: / antonvputra
    ► GitHub: github.com/antonputra
    ► Email: me@antonputra.com
    ▬▬▬▬▬▬ Related videos 👨‍🏫 ▬▬▬▬▬▬
    👉 [Playlist] Kubernetes Tutorials: • Kubernetes Tutorials
    👉 [Playlist] Terraform Tutorials: • Terraform Tutorials fo...
    👉 [Playlist] Network Tutorials: • Network Tutorials
    👉 [Playlist] Apache Kafka Tutorials: • Apache Kafka Tutorials
    👉 [Playlist] Performance Benchmarks: • Performance Benchmarks
    👉 [Playlist] Database Tutorials: • Database Tutorials
    =========
    ⏱️TIMESTAMPS⏱️
    0:00 Intro
    0:10 Starting with Submodules
    1:35 Cloning a Project with Submodules
    2:36 Pulling Upstream Changes from the Project Remote
    4:20 Working on a Submodule
    5:26 Publishing Submodule Changes
    =========
    Source Code
    🖥️ - GitHub: github.com/antonputra/tutoria...
    #Git #GitSubmodules #GitModules

ความคิดเห็น • 27

  • @AntonPutra
    @AntonPutra  10 หลายเดือนก่อน

    🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com

  • @AliAsgari-li1gz
    @AliAsgari-li1gz หลายเดือนก่อน +1

    Way more useful than the official documentation - thank you!

    • @AntonPutra
      @AntonPutra  หลายเดือนก่อน +2

      Thank you, but I’ll make a full git course soon and post it on my channel

  • @weekendwarrior3420
    @weekendwarrior3420 2 ปีที่แล้ว +4

    First of several "submodule" videos, that's actually filled with useful info!

  • @WavesNM
    @WavesNM 2 หลายเดือนก่อน +2

    Short, efficient, and to the point. Thank you!

    • @AntonPutra
      @AntonPutra  2 หลายเดือนก่อน +1

      thanks!

  • @AntonPutra
    @AntonPutra  ปีที่แล้ว +1

    👉 How to Manage Secrets in Terraform - th-cam.com/video/3N0tGKwvBdA/w-d-xo.html
    👉 Terraform Tips & Tricks - th-cam.com/video/7S94oUTy2z4/w-d-xo.html
    👉 ArgoCD Tutorial - th-cam.com/video/zGndgdGa1Tc/w-d-xo.html

  • @jamzey7568
    @jamzey7568 3 ปีที่แล้ว +4

    Short and super informative. Thanks a lot.

    • @AntonPutra
      @AntonPutra  3 ปีที่แล้ว +1

      You're welcome!

    • @seeker3794
      @seeker3794 4 หลายเดือนก่อน

      Short and confusing

  • @AntonPutra
    @AntonPutra  3 ปีที่แล้ว +1

    ⏱️TIMESTAMPS⏱️
    0:00 Intro
    0:10 Starting with Submodules
    1:35 Cloning a Project with Submodules
    2:36 Pulling Upstream Changes from the Project Remote
    4:20 Working on a Submodule
    5:26 Publishing Submodule Changes

  • @one2omg154
    @one2omg154 2 ปีที่แล้ว +1

    Excellent thank you! :)

    • @AntonPutra
      @AntonPutra  2 ปีที่แล้ว

      You're very welcome! :)

  • @BestHKisDLM
    @BestHKisDLM 3 ปีที่แล้ว +2

    Awesome 😊

  • @omarfessi2761
    @omarfessi2761 7 หลายเดือนก่อน +1

    is there a way to make a change of a submodule file inside the module-a repo and then the repo module-b gets updated ?

    • @AntonPutra
      @AntonPutra  7 หลายเดือนก่อน +1

      I don't think you can use git CLI directly for that.

  • @khaledwest3255
    @khaledwest3255 6 หลายเดือนก่อน

    Question: I don't understand, why do we need commit twice, from Github and locally ?

    • @AntonPutra
      @AntonPutra  6 หลายเดือนก่อน

      I don’t remember all the details, but you need to commit twice from the git submodule and the git repo itself. There is no need to commit both locally and from remote GitHub repo

  • @user-zt6ck7oe9j
    @user-zt6ck7oe9j ปีที่แล้ว

    Is it possible if repo b is private?

    • @AntonPutra
      @AntonPutra  ปีที่แล้ว

      Sure, if you have access

  • @_timestamp
    @_timestamp 4 หลายเดือนก่อน

    🎯 Key Takeaways for quick navigation:
    00:00 *🔄 Introduction to Git Submodules*
    - Git Submodules explained for keeping a Git repository as a subdirectory.
    - Overview of the process of integrating repositories using submodules.
    - Setting the stage for understanding the practical steps involved.
    01:18 *🔄 Adding Submodule and Configuring Git*
    - Explanation of adding a submodule to a project.
    - Demonstrating the use of the `git clone` command with submodules.
    - Configuring the local Git environment and checking the status.
    02:38 *🔄 Modifying and Updating Submodules*
    - Showcasing the process of modifying content within a submodule.
    - Updating submodules and syncing changes with the main project.
    - Exploring the simplicity of making changes in the submodule.
    03:50 *🔄 Creating and Working with Branches in Submodules*
    - Creating a new branch within the submodule.
    - Explaining how to navigate and work with branches in submodules.
    - Demonstrating the process of merging changes back into the main project.
    04:54 *🔄 Pushing Changes and Updating Submodule References*
    - Detailing the steps to push changes made in submodules.
    - Updating references and ensuring changes are reflected in the main project.
    - Managing the flow of updates between the submodule and the main repository.
    06:02 *🔄 Conclusion and Next Steps*
    - Summarizing key actions and concepts related to Git submodules.
    - Encouraging engagement with likes, subscribes, and anticipation for the next video.
    - Wrapping up the tutorial with a call to watch the upcoming content.
    Made with HARPA AI

  • @6thStorm
    @6thStorm 2 ปีที่แล้ว +1

    Remember to breathe

  • @bonemark
    @bonemark 6 หลายเดือนก่อน

    Без такой дурацкой музыки будет получше, а так thanks

    • @AntonPutra
      @AntonPutra  6 หลายเดือนก่อน

      ne delau uze takie :) no spasibo