Обложка канала

CatOps

4518 @catops

DevOps и другие неприятности.

CatOps

3 года назад
Открыть в
It may happen that you have a catch-all repository to store some work that may or may not be important. Notice, it's not quite a monorepo pattern, rather a single junkrepo. Like, I saw devops, utils, tools, and similar repositories in quite a few companies. But what if some things from those repos are actually important, and you want to have a dedicated home for those things? Here's a guide by GitHub that explains how to separate things from a repository while saving the Git history. This guide is created by GitHub, but it should work with any Git repository. Although, I only tested it with GitHub. Enjoy! #git #github
Splitting a subfolder out into a new repository - GitHub Docs

You can turn a folder within a Git repository into a brand new repository.

GitHub Docs