From e7972d70d2ebc3569d70e175fa09b28593b2baf1 Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Sat, 7 Jan 2023 22:23:12 +0800 Subject: [PATCH] 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 --- .config/gh/config.yml | 2 ++ .config/glab-cli/aliases.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.config/gh/config.yml b/.config/gh/config.yml index f32ba6a..72bfaf4 100644 --- a/.config/gh/config.yml +++ b/.config/gh/config.yml @@ -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. diff --git a/.config/glab-cli/aliases.yml b/.config/glab-cli/aliases.yml index 0121550..5bff2bb 100644 --- a/.config/glab-cli/aliases.yml +++ b/.config/glab-cli/aliases.yml @@ -1,2 +1,4 @@ ci: pipeline ci co: mr checkout +clone: repo clone +pr: mr