I need to share a symbolic reference - essentially, a named pointer to 
another reference - among multiple repositories.

As shown in the code below, I can successfully create a local symbolic-ref 
`foo_ptr` to branch `foo`, but can't push it to a remote, in this case 

$ git branch foo; git symbolic-ref foo_ptr refs/heads/foo; git rev-parse 
$ git push origin foo foo_ptr
error: dst ref refs/heads/foo receives from more than one src.

Is there a clean and reliable way to do that, or are symbolic references 
just not meant to be shared?

Thanks, D.


Reply via email to