From 6cdbcaf7f358b4e781c9dfc4892daa71e41cc4c3 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 16 Aug 2016 09:10:38 +0300
Subject: [PATCH] - Moved tag-version alias from shell to git. - Added git
 serve alias.

---
 .bashrc    | 1 -
 .gitconfig | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.bashrc b/.bashrc
index 098be0f..96c0927 100644
--- a/.bashrc
+++ b/.bashrc
@@ -63,7 +63,6 @@ alias gen-ssh-config='cat $HOME/.ssh/config.d/* > $HOME/.ssh/config'
 alias concat="perl -pe 's/\n/\\\n/g'"
 alias deconcat="perl -pe 's/\\\n/\n/g'"
 alias ggo='sudo GOPATH=/usr/share/go go'
-alias tag-version='git tag -f v"$(cat VERSION)"'
 alias ecr-login='eval $(aws ecr get-login)'
 alias hostlocal='docker run --rm --privileged --net=host gliderlabs/hostlocal'
 alias apt-daily='sudo apt update && sudo apt dist-upgrade --download-only --yes && sudo apt autoclean'
diff --git a/.gitconfig b/.gitconfig
index 80c9197..53863a2 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -9,6 +9,8 @@
     push-tags = push --tags
     pull-submodules = submodule update --remote
     diff-cached = diff --cached
+    tag-version = !git tag -f "v$(cat VERSION)"
+    serve = !git daemon --reuseaddr --verbose  --base-path=. --export-all ./.git
 [transfer]
     fsckobjects = true
 [fetch]
-- 
GitLab