Skip to content

Instantly share code, notes, and snippets.

View dzoba's full-sized avatar
💠
Constructing additional pylons

Chris Dzoba dzoba

💠
Constructing additional pylons
View GitHub Profile
@eitch
eitch / mergeGitRepositories.sh
Created July 17, 2019 07:07
mergeGitRepositories.sh
#!/bin/bash
#
################################################################################
## Script to merge multiple git repositories into a new repository
## - The new repository will contain a folder for every merged repository
## - The script adds remotes for every project and then merges in every branch
##  and tag. These are renamed to have the origin project name as a prefix
##
## Usage: mergeGitRepositories.sh <new_project> <my_repo_urls.lst>
## - where <new_project> is the name of the new project to create
### Keybase proof
I hereby claim:
* I am douglashanna on github.
* I am douglashanna (https://keybase.io/douglashanna) on keybase.
* I have a public key whose fingerprint is 16D4 A773 4F7F 564B 6DDF 1C8B 4B5F 1893 6A14 CE83
To claim this, I am signing this object: