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

Git alias for an initial empty commit.

Useful for some history editing tasks.
parent 54d60efb
No related branches found
No related tags found
No related merge requests found
Pipeline #388 passed
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
ff = merge --no-edit --ff-only master ff = merge --no-edit --ff-only master
fixup = !cd "${GIT_PREFIX:-$PWD}" && git commit --fixup $(git last-commit) fixup = !cd "${GIT_PREFIX:-$PWD}" && git commit --fixup $(git last-commit)
forget = reset HEAD^ forget = reset HEAD^
iec = commit --allow-empty --only --message \"Initial empty commit.\"
merg = merge --no-edit merg = merge --no-edit
pop = stash pop pop = stash pop
posh = push --set-upstream origin HEAD posh = push --set-upstream origin HEAD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment