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

Fiddling around with Git aliases.

parent edef50df
No related branches found
No related tags found
No related merge requests found
...@@ -14,13 +14,13 @@ ...@@ -14,13 +14,13 @@
forget = reset HEAD^ forget = reset HEAD^
merg = merge --no-edit merg = merge --no-edit
posh = push --set-upstream origin HEAD posh = push --set-upstream origin HEAD
pul = pull --progress Pull = pull --progress --ff --tags
pull-force = !git fetch && git reset --hard "$(git tracking)" pull-force = !git fetch && git reset --hard "$(git tracking)"
push-force = push --force-with-lease
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 SimpleHTTPServer
shove = push --force-with-lease
squash = !cd "${GIT_PREFIX:-}" && git commit --squash $(git last-commit) squash = !cd "${GIT_PREFIX:-}" && git commit --squash $(git last-commit)
staash = stash --all staash = stash --all
stat = status --short --branch stat = status --short --branch
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment