Skip to content

Commit 60d8554

Browse files
committed
git: add alias 'in-branch' and rename 'ver-contains' to 'in-tag'
1 parent 212ded7 commit 60d8554

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/git/config

+2-1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
fetch-upstream = fetch --prune --tags upstream
9393
fixup = "!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ${@:2} && EDITOR=true git rebase -i --autostash --autosquash $TARGET^; }; f"
9494
graph = log --graph --remotes --branches --tags --decorate --pretty=graph-format
95+
in-branch = branch --contains
96+
in-tag = tag --contains
9597
lfs-checkout = !git checkout && git lfs pull
9698
lfs-pull = !git pull && git lfs pull
9799
pull-all = pull --all --prune --tags
@@ -109,7 +111,6 @@
109111
update-submodule = submodule update --init --recursive
110112
update-all = !git pull-all; git update-submodule
111113
unstage = reset HEAD --
112-
ver-contains = tag --contains
113114

114115

115116
[filter "lfs"]

0 commit comments

Comments
 (0)