git : remove unused git_tag function.

This commit is contained in:
Dmitry Voronin 2023-11-04 05:35:30 +03:00
parent ca857a7e46
commit a536c6d088
2 changed files with 0 additions and 7 deletions

View file

@ -501,7 +501,6 @@ Command|Description
Command|Description
---|---
`git_tag`|Print git tag.
`gps`|Git push.
`gpsf`|Git push --force.
`gpl`|Git pull.

View file

@ -17,12 +17,6 @@ alias gi="git ls-files -ci --exclude-standard -z | xargs -0 git rm --cached"
alias gpc="git diff >"
alias gp="git apply"
# get current git tag.
git_tag()
{
git log | grep commit -m1 | sed -e "s/.*\ //g" | cut -c 1-11;
}
# alias to preview diff while adding. adds current dir by default.
# usage: ga [FILES]
ga()