From cc1cb7934b8c18047c7f6db6ad477ec4bc21dd99 Mon Sep 17 00:00:00 2001 From: Rodolphe Breard Date: Sat, 9 Jul 2016 19:30:26 +0200 Subject: [PATCH] Removing the unused bclean alias. --- .gitconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index 50cda2a..999ec6c 100644 --- a/.gitconfig +++ b/.gitconfig @@ -19,6 +19,10 @@ undo = reset --soft HEAD^ amend = commit --amend + ; ms: merge squash + ; Squash commits from the target branch and merge them into the current branch. + ms = merge --squash + ; ; http://blogs.atlassian.com/2014/10/advanced-git-aliases/ ; @@ -28,10 +32,6 @@ ; Take all uncommitted and un-staged changes currently in the working directory and add them to the previous commit. caa = commit -a --amend -C HEAD - ; bclean: branch clean - ; Remove local branches that have already been merged to master. - bclean = "!f() { git branch --merged ${1-master} | grep -v " ${1-master}$" | xargs -r git branch -d; }; f" - ; new: see new commits ; Displays commits created by the last command (typically after a git pull). new = !sh -c 'git log $1@{1}..$1@{0} "$@"'