+Paul Tan who rewrote git pull in C recently.
The manpage:
-u, --update-head-ok
By default git fetch refuses to update the head which
corresponds to the current branch. This flag disables the check. This
is purely for the internal use for git pull to communicate with
git fetc
According to the documentation these options are supported:
$ git help pull | grep -e '--update-head-ok'
-u, --update-head-ok
However:
$ git pull --update-head-ok
error: unknown option `update-head-ok'
Using:
$ git --version
git version 2.6.1
$ pacman --query --info git | grep ^Version
Ver
2 matches
Mail list logo