Git submodules are a powerful way to use git as an external dependency management tool. It is basically a way to embed a repository into another. When you add a submodule in Git, the code of the submodule does not get added to the main repository, only certain information about the submodule does. It simply … Continue reading Git submodules
Working with Git. Here are 5 must have settings that make you life so much easier
Recently, I ran into a situation where I needed to manage multiple Github accounts from a single computer. I have two github account, one related to work and the other for my personal repositories.It is a very simple combination of ssh and git config. Before I start explaining the steps for the same, let me … Continue reading Managing Multiple Github Accounts from a single machine
This post is for anyone to refer to for their daily git needs. We will not be covering any advanced git concepts here. Git is a distributed version control system.Some basic terminologies:Directory: A folder that contains multiple files.Repository: A directory where Git has been initialized to start version controlling your files. I have created an … Continue reading Git Basics – A cheat sheet for your daily git needs.
Sometimes when you are starting with version control for your code, you dont know how big your repository is going to become. The decision whether to create a new repository for every module or to keep them all in one repository may be a difficult one.When the modules are smaller, you would like to keep … Continue reading Splitting a git repository