I found the answer to this link , but not quite what I want.
Then I moved the kernel repository as a separate project (without using repo forall -c "git push ...).
- $ repo forall -c 'git push ssh: // username @ myserver / my-aosp-project / $ REPO_PROJECT HEAD: refs / heads / master'
- $ git push ssh: // username@myserver /my-aosp-project/kernel.git HEAD: refs / heads / master
And also I changed the manifest.xml file (which is on the server), adding this
<project path="kernel" name="kernel" />
albin
source share