Skip to content

Instantly share code, notes, and snippets.

@dsager
dsager / create_repo.sh
Last active Apr 25, 2017
Shell Script to Merge Multiple Git Repositories via Subtree Merge
View create_repo.sh
#! /bin/sh
# based on https://help.github.com/articles/working-with-subtree-merge
# Copyright (c) 2014 Daniel Sager
# License: MIT, https://gist.github.com/dsager/0edcbf806b5b86e78455#file-2014
REPOS="front-end back-end"
BRANCHES="develop master"
DIR="monolith"
View rvm_to_rbenv.md

Switch from RVM to RBENV

Uninstall RVM

rvm implode

Install RBENV and plugins

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build