1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

git: Add mv/reflog/clean-merged aliases

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
2022-10-24 14:29:40 +00:00
parent cbb44c99ee
commit 56fd0ad602
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,7 @@
unpushed = !git log --oneline @{u}..HEAD
leaders = !git shortlog -s -n --all --no-merges
defbranch = !git symbolic-ref refs/remotes/origin/HEAD | sed \"s@^refs/remotes/origin/@@\"
cleanmerged = !git branch --merged \"origin/$(git defbranch)\" | grep -ve \"^\\\\*\" -e \"^. $(git defbranch)$\" | xargs -r git branch -d
[advice]
statusHints = false
pushUpdateRejected = false