git:checkout-worktree: Format description comment

This commit is contained in:
2022-05-11 15:34:03 +02:00
parent 00927c8921
commit 932c2eee35

View File

@@ -8,6 +8,7 @@
# #
# Checks out the first argument in a worktree at a temporary directory. Then # Checks out the first argument in a worktree at a temporary directory. Then
# spawns an interactive shell inside of it. # spawns an interactive shell inside of it.
#
# When the shell closes the worktree is tried to be removed. Until that works # When the shell closes the worktree is tried to be removed. Until that works
# without problems (e.g. dirty), a new shell is spawned to resolve all conflicts # without problems (e.g. dirty), a new shell is spawned to resolve all conflicts
# (e.g. stashing). # (e.g. stashing).
@@ -22,7 +23,6 @@
# #
# Same for rebase (as `git rebase dev feature` switches to `feature`): # Same for rebase (as `git rebase dev feature` switches to `feature`):
# % git-checkout-worktree feature <<<"git rebase dev" # % git-checkout-worktree feature <<<"git rebase dev"
#
emulate -L zsh -o err_return -o no_unset emulate -L zsh -o err_return -o no_unset