Created
March 7, 2014 22:48
-
-
Save RavenHursT/9421802 to your computer and use it in GitHub Desktop.
Trying to merge subtree
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cd /path/to/projectA | |
$git subtree split --prefix=subDirA/subDirB/ --branch=split-branch | |
. | |
. | |
Created branch 'split-branch' | |
334e51707eb9115be61f8a5bd731e7093d26742c | |
$cd /path/to/projectB | |
$git merge /path/to/projectA split-branch master | |
fatal: Can merge only exactly one commit into empty head | |
$git merge /path/to/projectA 334e51707eb9115be61f8a5bd731e7093d26742c master | |
fatal: Can merge only exactly one commit into empty head |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment