Git – copy few branches from old repository to a new one

Sometimes, then you need to transfer few Git branches from existing repository to a new one you could run the following commands: This command will create a new folder new-repo-folder with a .git folder inside, but without any files from branches. Change to the repository folder: Adding the necessary branches: Now you need to do … Continue reading Git – copy few branches from old repository to a new one