-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
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
/cdinto the git repository- Press
Esctwice
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