Quantcast
Viewing all articles
Browse latest Browse all 2

Move directory from one repository to another, preserving history

I just moved one directory within a Git repository to a directory within another repository including its history. For example: repositoryA/ .........../directoryToKeep .........../otherDirectory .........../someFile.ext repositoryB/ .........../someStuff The goal is to move directoryToKeep into repositoryB with its history, i.e., all commits that affect directory1. If instead, you want to create a repository just for the contents […]

Source


Viewing all articles
Browse latest Browse all 2

Trending Articles