git/list[1] front-page[2] threads[3] people[4] search[5] about
 

`-u`/`update-head-ok` unsupported on pull

From
Victor Engmark <victor.engmark@gmail.com>
Date
Oct 8, 2015, 17:27 UTC
Message-ID
<CAA5Ydx9ySzEBWcUkmGQKTq93W0HzfEmb3ER7GPKzcnQJ0dbFKw@mail.gmail.com>
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 Version : 2.6.1-1

Am I missing something? The manual seems to be for the right version:

$ git help pull | tail -n1 | tr -s ' ' Git 2.6.1 10/06/2015 GIT-PULL(1)

I'm running the system installed Git:

$ type -a git git is /usr/bin/git

Cheers Victor

Next: Stefan Beller
Message 1 of 2 in “`-u`/`update-head-ok` unsupported on pull”
  1. Victor EngmarkOct 8, 2015
  2. Stefan BellerOct 8, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.