Created
August 8, 2016 18:53
-
-
Save weshayutin/3d32b52ed998fee319bfa40a468135a6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
http://zzamboni.org/new/blog/moving-files-between-git-repositories-preserving-history/ | |
http://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/ | |
10186 git clone https://github.com/openstack/tripleo-quickstart.git /tmp/tmp-repo | |
10187* history | grep filter-branch | |
10190* git remote remove origin | |
10191* git filter-branch --subdirectory roles/tripleo/overcloud -- --all | |
10192* git filter-branch --subdirectory-filter roles/tripleo/overcloud -- --all | |
10194 git remote add tmp-repo file:///tmp/tmp-repo | |
10195 git pull tmp-repo master | |
10197 git log | |
10199 ls defaults | |
10200 ls meta | |
10201 git remote | |
10203 git remote rm tmp-repo | |
10204 git remote -vv | |
10205 git status | |
10206 git add . | |
10207 git commit -m "move native quickstart roles/tripleo/overcloud to new repo" | |
10208 git remote add origin https://github.com/redhat-openstack/ansible-role-quickstart-overcloud.git | |
10209 git push -u origin master | |
10210 ls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment