From 03dc6172f73ff198e70edc994c7e119bebb54ca8 Mon Sep 17 00:00:00 2001 From: Dan Croak Date: Tue, 30 Sep 2014 15:43:41 -0700 Subject: [PATCH] Use `gh`, not `hub` [gh] is a [hub] reimplementation that's much faster and is now the official Github CLI. It appears that "hub" is [deprecated]. [gh]: https://github.com/jingweno/gh [hub]: https://github.com/github/hub [deprecated]: github/hub#475 Matches thoughtbot/laptop: https://github.com/thoughtbot/laptop/commit/d9a9dfe09bf5898172c752c87be7c5ae6537c5f2 --- gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitconfig b/gitconfig index dd789a0..ee4c4a4 100644 --- a/gitconfig +++ b/gitconfig @@ -15,7 +15,7 @@ ctags = "!sh -c '[ -f .git/hooks/ctags ] || git init; .git/hooks/ctags' git-ctags" delete-branch = !sh -c 'git push origin :refs/heads/$1 && git branch -D $1' - merge-branch = !git checkout master && git merge @{-1} - pr = !hub pull-request + pr = !gh pull-request st = status up = !git fetch origin && git rebase origin/master [core]