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
🔴 - To support my channel, I’d like to offer Mentorship/On-the-Job Support/Consulting - me@antonputra.com
Way more useful than the official documentation - thank you!
Thank you, but I’ll make a full git course soon and post it on my channel
First of several "submodule" videos, that's actually filled with useful info!
Thanks :)
Short, efficient, and to the point. Thank you!
thanks!
👉 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
Short and super informative. Thanks a lot.
You're welcome!
Short and confusing
⏱️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
Excellent thank you! :)
You're very welcome! :)
Awesome 😊
Thanks 🤗
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 ?
I don't think you can use git CLI directly for that.
Question: I don't understand, why do we need commit twice, from Github and locally ?
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
Is it possible if repo b is private?
Sure, if you have access
🎯 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
Remember to breathe
😅
Без такой дурацкой музыки будет получше, а так thanks
ne delau uze takie :) no spasibo