Git

What are Git submodules?

What are submodules in git? If you have worked in software development, you have certainly been developing your application using libraries or packages developed by others, whether it is open-source or not. It could be that your project A depends on a project B both of which are from different git repositories in your organisation. What happens when you want to be able to treat the two projects as separate yet still be able to use one from within the other?...

February 19, 2022 · 3 min · 582 words
Git

Git, Case Sensitivity and Github actions

Git is easy I have used git for quite a long time. I have also been coding in .NET for fairly some time now. I have created plenty of dotnet project repositories in Github and integrated some basic CI features to it using Github actions. It has all gone fairly well, until it didn’t, today. The documentation is pretty solid and I know a lot of it on top of my head....

May 15, 2021 · 5 min · 961 words
Git Undo

Git: Part 5 - Reset and further

In my previous post we went through branching in git and commands that can be used to get changes from one branch to another. Oops! Let us explore some commands that will prove useful when we end up in tricky situations with Git. Reset Reset helps you undo a commit. You know those times when you commit too soon. Git offers you the following levels of control to when you attempt a reset....

October 3, 2020 · 1 min · 204 words · eakangk
Git

Git: Part 4 - Branching and more

Featured Image: “Forest” by fear-sAs is licensed under CC BY-NC-ND 3.0 In my previous post we looked at some basic git commands. Let us delve a little deeper into branches. Git Branch A branch in git is really just a pointer to a commit HEAD Head points to the current branch which in turn points to the latest commit in a branch. Same image as earlier but now with reference to HEAD - For nore details refer Git Branching Branches in a Nutshell...

October 3, 2020 · 3 min · 481 words · eakangk
Git - Part 3

Git: Part 3 - Hands on

Featured Image: please let me hold your hand by pippimuckel is licensed under CC BY-NC-ND 3.0 In the previous post we went through some concepts and terminology in git. Some basic git commands Create a repository Let us take a look at how we can create a local repository. git init What does it do? Initialises a repository for a project Creates a .git folder for your repository Used by Git to track changes that happen in that repository folder Git stores repository specific settings to that folder It tracks the latest change in a branch in that folder Also stores configuration for the repository in there A new repository, needs some configuration....

October 3, 2020 · 2 min · 407 words · eakangk