diff --git a/README.md b/README.md index 4d0cdd2..8b97e5f 100644 --- a/README.md +++ b/README.md @@ -103,8 +103,10 @@ clipboard, ready for `cd `. It works over SSH too (OSC 52; in tmux, Select a submodule (or the header for the whole superproject) and press `x`. Its worktree becomes exactly what git records, and so do all submodules below it: changes are reset, untracked files removed, merges and rebases -ended, missing submodules cloned. Staged pins are kept. If something would be -lost, you are asked first: +ended, missing submodules cloned. Staged pins are kept. A submodule whose pin +is a branch tip ends on that branch instead of a detached HEAD (a missing +local branch is created from the remote one; no branch is ever moved). If +something would be lost, you are asked first: ``` Restore src/app? Discards 7 changed files in 3 repositories. y restore ยท n cancel