From fce2a54a87c8b19e2d518ec00751c29ddd9142f7 Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Fri, 1 Nov 2013 17:45:50 +0100 Subject: [PATCH] Use rebase for brew update Use `brew update --rebase` to make Homebrew use `git pull --rebase` when updating. This prevents homebrew from doing lots of merge commits or even prompting for merge messages, if the user has disabled fast-forward merges in her `.gitconfig`. --- modules/homebrew/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/homebrew/init.zsh b/modules/homebrew/init.zsh index 6f0299af..7384978f 100644 --- a/modules/homebrew/init.zsh +++ b/modules/homebrew/init.zsh @@ -20,6 +20,6 @@ alias brewi='brew install' alias brewl='brew list' alias brews='brew search' alias brewu='brew upgrade' -alias brewU='brew update && brew upgrade' +alias brewU='brew update --rebase && brew upgrade' alias brewx='brew remove'