Skip to main content

2 posts tagged with "version-control"

View All Tags

· 12 min read
Sivabharathy

When working on a product with multiple independent repositories, it is common to have separate repositories for the backend, frontend, mobile application, smart contracts, admin panel, or shared services.

For example:

Product Master Repository

├── backend
├── frontend
├── mobile
├── contracts
└── admin

One approach is to combine everything into a monorepo. Another approach is to keep each project as an independent repository and use Git submodules to bring them together under a master repository.

Git submodules are useful when you want to maintain repository independence while still having a single place that represents the complete product.

This article explains how Git submodules work, how to manage branches, how to update repositories, and the commands I use most often.

· 4 min read
Sivabharathy

Git for Absolute Beginners: A Comprehensive Guide with Clear Examples

Git is a powerful version control system that allows multiple people to work on a project simultaneously, keeps track of changes, and facilitates collaboration. If you're new to Git, don't worry! This guide will walk you through the basics with clear, step-by-step examples.

What is Git?

Git is a distributed version control system designed to handle everything from small to very large projects with speed and efficiency. It allows you to:

  • Track changes in your code
  • Revert to previous versions
  • Collaborate with others