Git pull --rebase and --reset-author-date
- From
- Ricardo 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