When I use Claude Code on a repository, then switch branches in another terminal, I’m not sure how confidently it picks up the changed files. Does it refresh its view of the working tree automatically, or can it keep reasoning from files it saw before the branch change?
I’m trying to avoid asking for a code review or edit based on stale context. Do you restart the session, explicitly point Claude at changed files, or use another workflow when moving between branches?
Can you answer this question?
Write Answer0 Answers