Removing the unused bclean alias.
This commit is contained in:
parent
49e8fe8430
commit
cc1cb7934b
1 changed files with 4 additions and 4 deletions
|
@ -19,6 +19,10 @@
|
||||||
undo = reset --soft HEAD^
|
undo = reset --soft HEAD^
|
||||||
amend = commit --amend
|
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/
|
; 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.
|
; 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
|
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
|
; new: see new commits
|
||||||
; Displays commits created by the last command (typically after a git pull).
|
; Displays commits created by the last command (typically after a git pull).
|
||||||
new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
|
new = !sh -c 'git log $1@{1}..$1@{0} "$@"'
|
||||||
|
|
Loading…
Reference in a new issue