RoPod/Tutorials/Copying External Repositories

From Control Systems Technology Group
Revision as of 14:23, 26 October 2017 by 20170140 (talk | contribs) (Created page with 'If a non-standard ros-package should be added while maintaining the commits of the previous package, use the following commands (in this case, the ed_tutorials package is moved):…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If a non-standard ros-package should be added while maintaining the commits of the previous package, use the following commands (in this case, the ed_tutorials package is moved):

git remote add ed_tutorials_remote https://github.com/tue-robotics/ed_tutorials
git fetch ed_tutorials_remote
git merge -s ours --no-commit ed_tutorials_remote/master

git read-tree --prefix=ed_tutorials/ -u ed_tutorials_remote/master
git commit -m "Imported ed_tutorials as a subtree."
git mv ~/ropod-project/ed/ ~/ropod-project/catkin_workspace/src/functionalities/ED/