gitconfig: added new command retag
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
cb54a2309a
commit
475e27f56e
@ -31,6 +31,7 @@
|
|||||||
exclude-file = !git update-index --assume-unchanged
|
exclude-file = !git update-index --assume-unchanged
|
||||||
c = commit --author='Marcin Woźniak <y0rune@aol.com> -s'
|
c = commit --author='Marcin Woźniak <y0rune@aol.com> -s'
|
||||||
cw = commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com> -s'
|
cw = commit --author='Marcin Woźniak <marcin.wozniak@wundermanthompson.com> -s'
|
||||||
|
retag = "!f() { if [ -z \"$1\" ]; then echo \"No version provided. Skipping git push.\"; else git tag --delete $1 2>/dev/null; git tag -a $1 -m \"Version $1\"; git push --tags -f; git push -f; fi; }; f"
|
||||||
|
|
||||||
[url "git@github.com:"]
|
[url "git@github.com:"]
|
||||||
insteadOf = "https://github.com/"
|
insteadOf = "https://github.com/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user