Skip to content

Instantly share code, notes, and snippets.

View Tam's full-sized avatar
🐢
I may be slow to respond.

Tam Tam

🐢
I may be slow to respond.
View GitHub Profile
@Tam
Tam / merge_repos.sh
Last active October 25, 2023 15:16 — forked from icholy/merge_repos.sh
Automatically get correct main branch name
#!/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:"