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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Junio,

> Can't you just use "git fetch && git rebase --..." instead of "pull"
> short-hand?

But then it wouldn't update the master branch... When I'm on myBranch
and execute "git pull origin --rebase --stat master:master" it does
bring the master branch up to date, so, it's equivalent to doing:

git checkout master
git pull
git checkout myBranch
git rebase master

I have an alias for the pull command: "alias.rb=pull origin --rebase
--stat master:master", so, it would be handier to just add the
--reset-author-date to it but it's not supported atm :(

Regards,
Ricardo Almeida




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux