From a23808420a562363d67da11d2438aa661e00368e Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Mon, 16 Apr 2018 11:41:40 +0300
Subject: [PATCH] Use Python3 in serve-http git alias.

---
 .gitconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitconfig b/.gitconfig
index cc587dd..62d6ea7 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -19,7 +19,7 @@
     pushes = !git remote | xargs -n1 git push
     root = rev-parse --show-toplevel
     serve-git = daemon --reuseaddr --verbose --base-path=. --export-all ./.git
-    serve-http = !git update-server-info && cd .git && python -m SimpleHTTPServer
+    serve-http = !git update-server-info && cd .git && python -m http.server 8080
     shove = push --force-with-lease
     squash = !cd "${GIT_PREFIX:-$PWD}" && git commit --squash $(git last-commit)
     staash = stash --all
-- 
GitLab