Skip to content

Instantly share code, notes, and snippets.

@Shyru
Shyru / merge_repos.sh
Last active April 6, 2021 16:54 — forked from gko/merge_repos.sh
Use git filter-repo instead of discouraged filter-branch
#!/bin/bash
# This script takes a remote repository and merges it into
# the current one as a subdirectory
set -e
if [ -z "$1" ]
then
echo "Usage:"