From: Junio C Hamano <gitster@pobox.com>
To: Artur Bieniek <abieniek@antmicro.com>
Cc: Kristoffer Haugsbakk <kristofferhaugsbakk@fastmail.com>,
Phillip Wood <phillip.wood123@gmail.com>,
Koji Nakamaru <gitgitgadget@gmail.com>,
git@vger.kernel.org, Artur Bieniek <ar2rekb@gmail.com>
Subject: Re: [PATCH] pull: add --hard mode
Date: Mon, 24 Aug 2026 07:11:41 -0700 [thread overview]
Message-ID: <xmqq1pbntxpe.fsf@gitster.g> (raw)
In-Reply-To: <248fc3ca-7907-4720-ab71-1cf5926b82a0@antmicro.com> (Artur Bieniek's message of "Mon, 24 Aug 2026 12:55:08 +0200")
Artur Bieniek <abieniek@antmicro.com> writes:
> If resetting does not belong under pull, would the inverse design be
> more appropriate, e.g. git reset --pull --hard, meaning “fetch the
> configured upstream and reset to it”? Or would making reset perform
> network I/O be undesirable for the same reason?
Very true. I wonder if the feature of git you should be looking at
for doing things like this is not "pull", "fetch", or "reset" but is
"alias"?
next prev parent reply other threads:[~2026-08-24 14:11 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 11:34 [PATCH] pull: add --hard mode Artur Bieniek via GitGitGadget
2026-08-18 14:48 ` Junio C Hamano
2026-08-20 9:58 ` Phillip Wood
2026-08-20 15:59 ` Junio C Hamano
2026-08-20 16:43 ` Artur Bieniek
2026-08-20 17:29 ` Kristoffer Haugsbakk
2026-08-24 10:55 ` Artur Bieniek
2026-08-24 14:11 ` Junio C Hamano [this message]
2026-08-21 1:09 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xmqq1pbntxpe.fsf@gitster.g \
--to=gitster@pobox.com \
--cc=abieniek@antmicro.com \
--cc=ar2rekb@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitgitgadget@gmail.com \
--cc=kristofferhaugsbakk@fastmail.com \
--cc=phillip.wood123@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.