On Wed, Aug 14, 2019 at 09:08:44PM +0200, Jonas Smedegaard wrote:
> I systematically turn off Gitlab MR support for projects I am involved
> in, because I am not confortable and efficient using it myself, it is
what helps me is having a note with this line:
git config alias.mr '!sh -c "git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2" -'
which I copy & paste into a shell running inside the directory of a git
repo, and after that "git mr origin 2" will checkout the merge request #2.
Thanks to Raphael Hertzog for pointing this out some time ago.
--
cheers,
Holger
-------------------------------------------------------------------------------
holger@(debian|reproducible-builds|layer-acht).org
PGP fingerprint: B8BF 5413 7B09 D35C F026 FE9D 091A B856 069A AA1C
Dance like no one's watching. Encrypt like everyone is.
Attachment:
signature.asc
Description: PGP signature