Git: Guides and Practical Know-how | Page 4 | mironsoft Blog
Git
-
Jan 26, 2026
A .gitlab-ci.yml with only three jobs and no defined stages is not a deployment process, it is a script that will eventually break. Deploying Magento cleanly requires a complete pipeline structure: reproducible build artifacts, defined approvals, server side release directories, controlled Magento steps and a functionally complete verify job.
-
Jan 24, 2026
Long lived feature branches quietly grow into tangled merge conflicts and cost development teams valuable time on every release. This article shows in practical terms how to keep feature branches short and focused, sync regularly with main, detect oversized branches early and split them cleanly, and use a clear branch per ticket workflow to permanently avoid merge hell in Magento and PHP projects.
-
Jan 21, 2026
Teams that write commit messages however they feel like lose the ability to evaluate changes programmatically and plan releases automatically. Conventional Commits standardizes the format around type(scope): description, turning the commit history into a reliable foundation for automated changelogs, semantic version numbers, and fully automated releases, all without manual steps in the CI/CD pipeline.
-
Jan 3, 2026
Anyone who packs directories into GitLab artifacts without a plan ends up with bloated packages, non reproducible deployments, and unnecessary server risk. Clean separation between build output, shared data, and server state is the core of a resilient release process for Magento.
-
Jan 3, 2026
The PHPStorm plugin marketplace lists dozens of plugins that promise to simplify Magento development. In practice, many of them add little value, noticeably slow down the IDE, or are simply irrelevant for Hyva projects. This article separates the real productivity boosters from the resource hogs.
-
Jan 1, 2026
A renamed file looks like a brand new file to git log. With --follow the full history stays visible, but only under certain conditions.
-
Dec 30, 2025
Git hooks are scripts that Git automatically runs on certain events such as commit, push, or merge, locally inside the .git/hooks directory and server side inside a bare repository. This article shows how client and server hooks differ, how a pre-commit hook comes together step by step, how Git interprets exit codes, and how core.hooksPath finally makes hooks version-controlled across the team.
-
Dec 30, 2025
A pre-commit hook runs before Git actually creates the commit, and it can block it entirely on a rule violation. This article covers which checks, like linting, formatting and fast unit tests, belong there, why speed matters so much, and how hand-rolled scripts compare to the pre-commit framework.
-
Dec 28, 2025
A Magento shop that gets deployed straight into a single directory cannot be rolled back in seconds. The symlink model with releases/, current/ and shared/ is the foundation of every zero-downtime deployment, and it needs to be built correctly once, before the first pipeline ever runs.
-
Dec 28, 2025
Throwing media files, static assets and build artifacts into the same bucket in Magento deployments makes rollbacks dangerous and deployments slow. Each of these three categories has its own lifecycle, its own ownership and its own deployment strategy, and that must be reflected in the structure of the pipeline.