From: Johannes Schindelin Date: Mon, 02 Aug 2021 21:17:13 GMT Subject: Re: [PATCH 0/1] Improve automatic setup of tracking for new branches Message-ID: In-Reply-To: <7b50ebc6-7b28-412d-b124-9bd54750c922@gmail.com> Hi Philippe, On Fri, 30 Jul 2021, Philippe Blain wrote: > Recently I've even been using only the terminal with Gitgitgadget: > I use 'git branch --edit-description' > to write my cover letter, and then use the 'gh' GitHub CLI to open my PR: > > $ git config --get-regexp alias.desc* > alias.desc-title !git config branch.$(git branch --show-current).description | > head -1 > alias.desc-body !git config branch.$(git branch --show-current).description | > tail -n+3 > $ gh pr create --title "$(git desc-title)" --body "$(git desc-body)" --head > phil-blain:$(git branch --show-current) I bet you could streamline this even further by defining a `gh` alias: https://cli.github.com/manual/gh_alias_set Ciao, Dscho