Wednesday, February 2, 2022
How to Move Subdirectory Into New Git Repository?
I have had to move one of the subdirectories of a Git repository to a new one. I needed to keep the commits history on the new repository. But, of course, only that relevant part of history for my subfolder. Looking on the Internet for a solution, I have found a lot of articles suggesting filter-branch, but it turns out it is not the best solution. At least for me.
Sunday, February 28, 2021
8 Git Best Practices
The purpose of version control systems is to keep a history of a file’s changes or a very complex system consisting of thousands of files. That is it. Nothing more. When using it on your own, you could use it as you want, as long as it still serves its purpose and you could recall a specific version in history. However, when using distributed version control systems (DVCS), like Git, you should decide on best practices, especially when using it as a team.