I've got a local repo upstream
and a downstream
cloned from it. upstream
has a non-master branch called receiving
I use for pushing (neither repo is bare).
When I do git push origin origin/receiving
, git properly pushes the commit objects over but doesn't update the HEADs in upstream
. I've actually fixed the issue before by opening the files in my editor and manually updating the hash. I'd still like to to know if there's something I could do to make it automatic. There aren't any permission issues - I'm actually doing everything as root with these repos.