Getting `Couldn't sync <branch> as the curre...
# how-do-i
z
Getting
Couldn't sync <branch> as the current remote version was not pushed with Graphite.
Last night I was able to
gt submit
this branch and this morning I'm not. On app.graphite.com the stack looks fine; I'm even looking on GitHub and can see that every single push says "force push" which for me means I did
gt submit
rather than
git push
; All commits on this branch were made with
gt modify
. What the heck do I do? I am totally stuck, I have no idea how to proceed
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
z
The Graphite Chat is giving me totally wrong commands, which is unsurprising to me because your docs are incomplete in many regards.
These commands are wrong - the
gt branch parent -s
command maybe should be
gt track -p <parent-branchname>
, and
gt branch checkout
and
gt repo sync
are deprecated
p
Hey Zach, thanks for calling this out. My guess for these because we still document the older commands =/ So did
gt track
end up working for you?
z
I had to do some
git rebase
commands first, thanks for following up @Brett Bedevian