Git Mailing List Archive mirror
 help / color / mirror / Atom feed
* git pull --prune --prune-tags yields a usage error In 2.45.0
@ 2024-05-13 23:11 David Sanderson
  2024-05-14  6:47 ` Patrick Steinhardt
  0 siblings, 1 reply; 2+ messages in thread
From: David Sanderson @ 2024-05-13 23:11 UTC (permalink / raw)
  To: git

I noticed that "git help pull"  mentioned the flag --prune-tags in
conjunction with --prune, but actually supplying this flag to
"git pull" results in a usage error.  For instance, the command
"git pull --prune --prune-tags" fails with a usage error.  I would
have expected that this would work, since it works with "git fetch".

I could use "git fetch --prune --prune-tags" as I expected, and
"git help fetch" does describe --prune-tags on its own as well as
in the help for --prune.

I confirmed that this behavior still exists in git version 2.45.0.

David Sanderson

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-14  6:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-13 23:11 git pull --prune --prune-tags yields a usage error In 2.45.0 David Sanderson
2024-05-14  6:47 ` Patrick Steinhardt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).