Re: [PATCH] pull: add --hard mode
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 24, 2026, 14:11 UTC
- Message-ID
- <xmqq1pbntxpe.fsf@gitster.g>
- In-Reply-To
- <248fc3ca-7907-4720-ab71-1cf5926b82a0@antmicro.com>
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"?