git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git pull --rebase and --reset-author-date

From
RARicardo Almeida <ric.almeida@gmail.com>
Date
Dec 11, 2024, 20:55 UTC
Message-ID
<CAMKQPDZWgq_qCdaL_S8cYYn=wtZSJiq6nP5aqFjvUZcFSnrTzQ@mail.gmail.com>
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

Next: Junio C Hamano
Message 1 of 4 in “Git pull --rebase and --reset-author-date”
  1. Ricardo AlmeidaDec 11, 2024
  2. Junio C HamanoDec 12, 2024
  3. Ricardo AlmeidaDec 12, 2024
  4. Junio C HamanoDec 13, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.