diff --git a/git-guide.md b/git-guide.md index 0e72a01..10dbb65 100644 --- a/git-guide.md +++ b/git-guide.md @@ -16,7 +16,8 @@ This file records repo-specific git workflow preferences for `/home/aw/code/cds` ## Push Requests - When the user asks to push, use `git push -u origin main` by default unless the user explicitly asks for a different remote or branch. -- If `git push -u origin main` or any git command prompts for credentials or an SSH key passphrase, stop at the prompt and tell the user to enter the secret directly in the terminal instead of sending it in chat. +- Do not execute `git push -u origin main` or any other git push command from the assistant when credentials or an SSH key passphrase might be required. +- Instead, show the exact push command and tell the user to run it directly in the terminal. - Do not accept passwords or passphrases through chat for git operations. - If the user asks the assistant to take the password/passphrase handoff, refuse and direct the user to complete the prompt from the terminal.