feat(cli-aliases): update aliases in GitHub and GitLab CLI

To ease migration to GitLab and the official CLI itseld,
I made 'gh mr' as alias to 'gh pr'.

Notes:
* `glab` is now officially adopted by GitLab team since 2022-12-07!
  See https://about.gitlab.com/blog/2022/12/07/introducing-the-gitlab-cli/
  and https://about.gitlab.com/releases/2022/12/22/gitlab-15-7-released/
  for all the details.

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-01-07 22:23:12 +08:00
parent 4f0d7e1708
commit e7972d70d2
No known key found for this signature in database
GPG key ID: 67BFC91B3DA12BE8
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@ pager:
# Aliases allow you to create nicknames for gh commands
aliases:
co: pr checkout
clone: repo clone
mr: pr
# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport.
http_unix_socket:
# What web browser gh should use when opening URLs. If blank, will refer to environment.

View file

@ -1,2 +1,4 @@
ci: pipeline ci
co: mr checkout
clone: repo clone
pr: mr