As a developer, taking on the role of a team leader was a significant step in my career. One of the first challenges I faced was designing a clear and efficient Git management process for the team. In this post, I’ll share my journey of discovering the Git flow that worked best for us, drawing Read More..
Category: Git in WP
Introduction to Git Submodules for WordPress Developers
Managing multiple codebases or dependencies in a WordPress project can sometimes be a challenge, especially when you have different repositories for themes, plugins, or shared libraries. Git submodules provide a way to incorporate one Git repository into another, making it easier to track, update, and maintain external repositories as part of your main project. While Read More..
Handle Submodule Changes
If you modify files inside a Git submodule but only commit the changes in the parent repository (without committing those changes in the submodule itself), the following will happen: Key Behavior on Push: Summary of What Happens: How to Properly Handle Submodule Changes: 2. Update the Submodule Reference in the Parent Repository: After committing in Read More..