Useful aliases for git

Here is a list of some of the useful git aliases that I use:

        co = checkout
        count   = shortlog -sn
        ci      = commit
        amend   = ci --amend
        fa      = fetch --all
        lipush  = !git review dcommit && git submit --async
        rb      = review create --owners --no-prompt
        rbu     = review update
        mr      = !sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -

One of the very useful one is the last one, mr, which checks out the a merge request on Gitlab.