Tag: git
-
Rebasing With Git
Rebasing is one of the features you probably want to have, if you plan to work on a neat git-based project. 🍣 Where to Rebase? If you know how many commits you make, to rebase you use git rebase with -i flag to enable interactive rebasing. The HEAD~<n> corresponds to the number of commits you…
-
Make Subfolder A Git Submodule
Ever been in a situation where a sub-folder of your git repository needs to branch out as a new repository? Here in this article, I’ve tried a new way using a python module to simplify the process. This step is also recommended by the Git core team as ways to move a sub-folder to a…
-
Checkout Specific Directory Within Git Repo
I believe that the first test of a truly great man is his humility. Really great men have a curious feeling that the greatness is not in them but through them. And they see something divine in every other man and are endlessly, incredibly merciful. — John Ruskin. One day I was working on a…