office: put the attach instruction before the key list, so the next step is the first thing printed

This commit is contained in:
Sam
2026-11-13 11:00:32 +11:00
parent c53f37dad9
commit bd0114a64f
7 changed files with 483 additions and 6 deletions

View File

@@ -618,18 +618,17 @@ def prepare_git(folder, opts, session):
return "ready"
h.say("")
h.say(" Everything is staged and nothing is committed. What you commit is what")
h.say(" the agent will be able to see, so check it first:")
h.say(" EVERYTHING IS STAGED AND NOTHING IS COMMITTED. What you commit is what")
h.say(" the agent will be able to see, so check it before you commit.")
open_git_session(folder, session, opts)
h.say("")
h.say(" cd %s && lazygit" % folder)
h.say(" In lazygit:")
h.say("")
h.say(" i put the selected file or folder into .gitignore")
h.say(" space stage or unstage e edit a file, .gitignore included")
h.say(" c commit ? every key")
h.say("")
open_git_session(folder, session, opts)
h.say("")
h.say(" Then repeat this command to create the project with worktrees:")
h.say(" Then, after committing, repeat this command to create the project:")
h.say("")
h.say(" %s" % repeat_command(folder, opts))
return "staged"