git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git pull --rebase and --reset-author-date
@ 2024-12-11 20:55 Ricardo Almeida
  2024-12-12  3:16 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Ricardo Almeida @ 2024-12-11 20:55 UTC (permalink / raw)
  To: git

Hi,

I just learned about being able to use "git rebase master
--reset-author-date" to, as the name implies, reset the author date of
the branch commits that will move to the top.

But, when working in a branch, I use "git pull origin --rebase --stat
master:master" to update the master branch and rebase the current
branch with a single command (have it in an alias, to avoid typing it
all). So, I tried to execute "git pull origin --rebase
--reset-author-date --stat master:master" but it's not possible :(

error: unknown option `reset-author-date'

So, I was wondering if there's a similar option that can be used with
git pull --rebase or if I can request this feature to be added? :)

Regards,
Ricardo Almeida

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

end of thread, other threads:[~2024-12-13  3:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-11 20:55 Git pull --rebase and --reset-author-date Ricardo Almeida
2024-12-12  3:16 ` Junio C Hamano
2024-12-12  8:25   ` Ricardo Almeida
2024-12-13  3:31     ` Junio C Hamano

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 NNTP newsgroup(s).