Try https://git-scm.com/docs/git-remote and look at

'git remote set-head  <name> (-a | --auto | -d | --delete | <branch>'

(all assumes that your example command is the right one, plus I don't use Gerrit, so haven't a clue about the command's suitability for that...)

Philip

On 26/02/2019 18:44, William wrote:
Hello

Does any one know how to push a symbolic-ref change to git server?I created a symbolic-ref as below but I dont see any change when i do "git status" to push to gerrit server

git symbolic-ref HEAD refs/heads/pactest

--
You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com <mailto:git-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Git for 
human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to