hello, I’m wondering if I’m doing something wrong ...
# how-do-i
t
hello, I’m wondering if I’m doing something wrong in my workflow to ask for this: could
gt sync
do
git fetch
? Or is there a way to hook up the two? Oftentimes, I run
gt sync
and then switch to a particular branch to do code review. But it then fails because the branch is unknown locally and I have to do
git fetch
to get it to work.
p
(If applicable) To help us more clearly understand what you're trying to do, please provide additional details about: - Screenshots / debug logs / list of commands you've tried to run so far - Your workflow - Current state
hey Tim, when this happens is the branch you've switched to one that has not been created or tracked by
gt
?
t
no, a regular branch created by a coworker who needs a review
p
gotcha, this is expected behavior at the moment then as non`gt` branches have to be explicitly fetched. We're working on improving this soon for collaboration workflows
👍 1