Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir projTotal
- cd projTotal
- git init
- git commit --allow-empty -m "Initial commit"
- #add any number of projects
- git remote add -f proj git@proj.git
- git merge --allow-unrelated-histories proj/master
- mkdir subProj
- ls -a -1 > proj.files
- vim proj.files
- #remove manually subProj, proj.files, .git, ., ..
- for f in $(cat proj.files); do git mv $f subProj; done
- rm proj.files
- git commit -a -m "Move proj files to subdir"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement