Created
December 19, 2017 13:38
-
-
Save agrare/f21cb69a717d13f50ea6136f82b6c36f to your computer and use it in GitHub Desktop.
Move code to new repo
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
git clone git@github.com:ManageIQ/manageiq-gems-pending.git vmware_web_service | |
cd vmware_web_service | |
git remote rm origin | |
git tag | xargs git tag -d | |
git filter-branch --prune-empty --index-filter ' | |
git read-tree --empty | |
git reset $GIT_COMMIT -- DIR1 DIR2 | |
' --msg-filter ' | |
cat - | |
echo | |
echo "(transferred from ManageIQ/manageiq-gems-pending@$GIT_COMMIT)" | |
' -- --all -- DIR1 DIR2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment