threads / discuss / 32545

git push --force to update tag

Subject: git push --force to update tag

## tl;dr

2 messages between Jan 7, 2013 and Jan 7, 2013.

replies: 1people: 2as markdown or json

乙酸鋰· Jan 7, 2013, 02:23 UTC · lore
about git 1.8.2
 * "git push" now requires "-f" to update a tag, even if it is a
   fast-forward, as tags are meant to be fixed points.

Does the server side validate this? Do we need to upgrade git on server side to support this?

Chris Rorvick· Jan 7, 2013, 03:42 UTC · re: 乙酸鋰 · lore

Re: git push --force to update tag

On Sun, Jan 6, 2013 at 8:23 PM, 乙酸鋰 <ch3cooli@gmail.com> wrote:
Show 7 quoted lines
> about git 1.8.2
>
>  * "git push" now requires "-f" to update a tag, even if it is a
>    fast-forward, as tags are meant to be fixed points.
>
> Does the server side validate this? Do we need to upgrade git on
> server side to support this?

This check is made by the side doing the push. There is no additional validation done on the remote side so it does not need an updated version of Git for this feature to work correctly.

Chris

← back to recent threads