How to clean a git repository
Sorry, this entry is only available in French.
Sorry, this entry is only available in French.
This post is a copy from Matthias Schoettle’s blog Let us just moved one directory within a Git repository to a directory within another repository including its history. For example: repositoryA/ “`console ………../directoryToKeep ………../otherDirectory ………../someFile.ext repositoryB/ ………../someStuff The goal is to move directoryToKeep into repositoryB with its history, i.e., all…
Summary Git is a very powerful tool providing a very efficient branching system. However, using git is not straightforward and when one wants to carry out an efficient workflow to manage a project, it is necessary to use several complex commands so that nobody is able to follow the workflow.…