git:checkout-worktree: Format description comment
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user