This is the command git-merge-repo that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
git-merge-repo - Merge two repo histories
SYNOPSIS
git-merge-repo <repo> <branch> <directory> [--squash]
DESCRIPTION
Merges a repository´s history with the current repository, inside a specified directory.
Optional --squash flag skips the full history and generates only one commit for the merge.
EXAMPLES
Merges a local repo´s frontend branch into the current repo´s web folder:
$ git merge-repo ../app/.git frontend web
Merges a remote repo´s master branch into the current repo´s folder:
$ git merge-repo [email protected]:tj/git-extras.git master .
Use git-merge-repo online using onworks.net services