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

- Use current path for git fixup and squash aliases.

parent b735feb6
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
empty-commit = commit --allow-empty
exec = "!exec "
ff = merge --no-edit --ff-only master
fixup = !git commit --fixup $(git last-commit)
fixup = !cd "${GIT_PREFIX:-}" && git commit --fixup $(git last-commit)
forget = reset HEAD^
merg = merge --no-edit
posh = push --set-upstream origin HEAD
......@@ -20,7 +20,7 @@
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
squash = !git commit --squash $(git last-commit)
squash = !cd "${GIT_PREFIX:-}" && git commit --squash $(git last-commit)
staash = stash --all
stat = status --short --branch
tag-version = !git tag --annotate --force --message "v$(cat VERSION)" "v$(cat VERSION)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment