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

Re: can I remove or move a tag in a remote repository?

From
Jakub Narebski <jnareb@gmail.com>
Date
Nov 19, 2006, 18:54 UTC
Message-ID
<ejq96b$frg$1@sea.gmane.org>
In-Reply-To
<87wt5rffbm.fsf@rho.meyering.net>
Jim Meyering wrote:
Show 12 quoted lines
> When I try to push the new tags, git-push fails:
> 
>   $ git-push -f --tags ssh+git://git.sv.gnu.org/srv/git/coreutils master:refs/heads/master
>   updating 'refs/tags/cvs-head'
>     from 2fd3fd29a8b40be695bc2327c8cd3bd33e521100
>     to   db18f53ffb221e9957124d8af81c11a7e350ac3b
>   ...
>   Total 1, written 1 (delta 0), reused 0 (delta 0)
>   Unpacking 1 objects
>   error: denying non-fast forward; you should pull first
> 
> I get the same error also when using --force.

Possibly remote side has receive.denyNonFastForwards set (it should not I think if it is public published bare repository). But even then there should be no fast-forward check on tags...

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Jim MeyeringNext: Andreas Ericsson
Message 2 of 9 in “can I remove or move a tag in a remote repository?”
  1. Jim MeyeringNov 19, 2006
  2. Jakub NarebskiNov 19, 2006
  3. Andreas EricssonNov 28, 2006
  4. Junio C HamanoNov 28, 2006
  5. Johannes SchindelinNov 29, 2006
  6. Jim MeyeringNov 29, 2006
  7. Johannes SchindelinNov 29, 2006
  8. Jakub NarebskiNov 29, 2006
  9. Andy WhitcroftNov 29, 2006

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.