git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Konstantin Tokarev <annulen@yandex.ru>
To: Victor Porton <porton@narod.ru>,
	"git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: Feature: checkout and merge
Date: Mon, 12 Oct 2020 18:04:19 +0300	[thread overview]
Message-ID: <5293161602514983@mail.yandex.ru> (raw)
In-Reply-To: <28a86c75-de4d-acbe-dab7-e5512961538c@narod.ru>



12.10.2020, 14:12, "Victor Porton" <porton@narod.ru>:
> 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

  reply	other threads:[~2020-10-12 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 11:05 Feature: checkout and merge Victor Porton
2020-10-12 15:04 ` Konstantin Tokarev [this message]
2020-10-12 17:48   ` Junio C Hamano
  -- strict thread matches above, loose matches on Subject: below --
2020-10-12 11:05 Victor Porton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5293161602514983@mail.yandex.ru \
    --to=annulen@yandex.ru \
    --cc=git@vger.kernel.org \
    --cc=porton@narod.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).