Skip to content
Snippets Groups Projects
Commit a2380842 authored by nimrod's avatar nimrod
Browse files

Use Python3 in serve-http git alias.

parent de4430a2
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
pushes = !git remote | xargs -n1 git push pushes = !git remote | xargs -n1 git push
root = rev-parse --show-toplevel root = rev-parse --show-toplevel
serve-git = daemon --reuseaddr --verbose --base-path=. --export-all ./.git 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 shove = push --force-with-lease
squash = !cd "${GIT_PREFIX:-$PWD}" && git commit --squash $(git last-commit) squash = !cd "${GIT_PREFIX:-$PWD}" && git commit --squash $(git last-commit)
staash = stash --all staash = stash --all
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment