Re: Feature: checkout and merge
- From
- Konstantin Tokarev <annulen@yandex.ru>
- Date
- Oct 12, 2020, 15:04 UTC
- Message-ID
- <5293161602514983@mail.yandex.ru>
- In-Reply-To
- <28a86c75-de4d-acbe-dab7-e5512961538c@narod.ru>
12.10.2020, 14:12, "Victor Porton" <porton@narod.ru>:
Show 15 quoted lines
> It is a very often need to checkout a branch and them merge the branch > that was before the checkout. Moreover after this is very often needed > to push. > > So please add the flags to `checkout`: > > 1. to merge the old branch immediately after checkout > > 2. to push after checkout > > I repeatedly write: > > git checkout stable && git merge main && git push && git checkout main > > (I am not subscribed to this mailing list.)
Why not make a shell script to do this?
-- Regards, Konstantin