commit c12f910291b25b3c6bd7ea4b20415eb4eb229769
parent 090b70f76a0101a9e8ce69547588d9ed82370616
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sun, 21 Oct 2018 18:17:10 +0200
Added commands to show git repository URL
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/git/gitconfig b/git/gitconfig
@@ -38,6 +38,8 @@
pushf = push --force-with-lease
fuckitall = reset --hard HEAD
up-sub = "!git submodule foreach 'git fetch origin --tags; git checkout master; git pull' && git add . && git commit -m 'Updated submodules' && git submodule update --recursive --checkout"
+ home = "!git remote show origin | awk -F ': ' '/Fetch/ {print $2}'"
+ open = "!open $(git home)"
[merge]
tool = vimdiff