First of all i want to show you my project setup, I've two projects
- Project X: Cloned from a remote svn server with git svn clone
- Project y: Located on GitHub
Project X references Project y as git submodule:
-- Project X
-- src/
-- myCode1/
-- *Project y Submodule*
-- myCode2/
-- .git/
-- ...
Now I want to "push" my local done commits to the remote svn server with git svn dcommit.
Can anyone explain me the correct workflow for that project structure?
If I want to update my local git repo from the svn server I run git svn rebase
and get the following:
error: The following untracked working tree files would be overwritten by checkout
Git lists all files of the submodule, but I tracked the submodule already in my local repo.
Any ideas or suggestions?