Describe the bug
I opened copilot in a normal folder, not a git repository, then ran /cd razor to get into a git repository. Later, when trying to rewind, it said it couldn't because I wasn't in a git repository.
See screenshot below. Started in C:\Code, cd'd into razor, and am clearly in a git repository because the branch info is shown
Affected version
GitHub Copilot CLI 0.0.400.
Steps to reproduce the behavior
- Navigate to a folder that is a parent of a git repository
- Run copilot
/cd into the git repository
- Press
Esc twice
Expected behavior
It should know that I'm in a git repository because I used the /cd command to get there.
Additional context
No response
Describe the bug
I opened copilot in a normal folder, not a git repository, then ran
/cd razorto get into a git repository. Later, when trying to rewind, it said it couldn't because I wasn't in a git repository.See screenshot below. Started in
C:\Code, cd'd into razor, and am clearly in a git repository because the branch info is shownAffected version
GitHub Copilot CLI 0.0.400.
Steps to reproduce the behavior
/cdinto the git repositoryEsctwiceExpected behavior
It should know that I'm in a git repository because I used the
/cdcommand to get there.Additional context
No response