psirus0588.github.io

My usefuls code snippets

View on GitHub

Git

Create new repository and add repository one and repository two to it.

wget https://psirus0588.github.io/snippets/git/merge_two_repositories_into_one.sh
./merge_two_repositories_into_one.sh [new_repository_name] [repository_one_name] [repository_one_url] [repository_two_name] [repository_two_url]

Add subtree repository

wget https://psirus0588.github.io/snippets/git/subtree_merge.sh
./subtree_merge.sh [sub_project_name] [sub_project_url]