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

Rewrite Git alias.

Runs `rebase -i` noninteractively for the whole history (since the
initial commit).
parent aab23f8a
Branches
No related tags found
No related merge requests found
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
pull-force = !git fetch && git reset --hard "$(git tracking)" pull-force = !git fetch && git reset --hard "$(git tracking)"
pushes = !git remote | xargs -n1 git push pushes = !git remote | xargs -n1 git push
retry = !cd "${GIT_PREFIX:-$PWD}" && git amend --no-edit . && git shove retry = !cd "${GIT_PREFIX:-$PWD}" && git amend --no-edit . && git shove
rewrite = autorebase ':/Initial empty commit.'
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 http.server 8080 serve-http = !git update-server-info && cd .git && python -m http.server 8080
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment