Skip to content

Import git repository in sub folder of another

Remi Cattiau edited this page Jun 23, 2023 · 1 revision
#!/bin/bash

TARGET_PATH=website
REPOSITORY_PATH=../myrepo/
BRANCH=main
# git subtree add -P $TARGET_PATH $REPOSITORY_PATH $BRANCH
Clone this wiki locally