I have a GIT repository in which there are 4 local branch and numerous remote branch, I want to push the entire repository to the bare repository (including remote branches). I tried using git push origin, but remote branch did not get pushed.
My config file looks like this
[remote "origin"]
etch = +refs/heads/*:refs/remotes/origin/*
url = git://my-server/local/android/kernel/linux-android.git
pushurl = git@my-server:/local/android/kernel/linux-android.git
push = +refs/heads/*:refs/remotes/origin/*