Slackbot
05/16/2023, 7:41 PMDavid Melvin
05/16/2023, 7:41 PMJacob Gold
05/16/2023, 7:42 PMDavid Melvin
05/16/2023, 7:42 PMDavid Melvin
05/16/2023, 7:43 PMgt repo init --reset
ERROR: Could not find branch dmelvin/fix/synced-inputs-long-running-cmd-focus-switch.David Melvin
05/16/2023, 7:44 PMJacob Gold
05/16/2023, 7:46 PM.graphite_cache_lock file in your .git folderDavid Melvin
05/16/2023, 7:47 PMDavid Melvin
05/16/2023, 7:47 PMDavid Melvin
05/16/2023, 7:48 PMJacob Gold
05/16/2023, 7:48 PMgit update-ref -d refs/branch-metadata/dmelvin/fix/synced-inputs-long-running-cmd-focus-switchJacob Gold
05/16/2023, 7:49 PMgt repo init --reset againDavid Melvin
05/16/2023, 7:49 PMJacob Gold
05/16/2023, 7:50 PMgt dev cache --clear again firstJacob Gold
05/16/2023, 7:50 PMDavid Melvin
05/16/2023, 7:50 PMJacob Gold
05/16/2023, 7:51 PMrm -rf .git/refs/branch-metadata might be necessaryJacob Gold
05/16/2023, 7:52 PMDavid Melvin
05/16/2023, 7:52 PMDavid Melvin
05/16/2023, 7:52 PMDavid Melvin
05/16/2023, 7:53 PMgt repo init with --reset? or without the reset flag?Jacob Gold
05/16/2023, 7:53 PMDavid Melvin
05/16/2023, 7:54 PMJacob Gold
05/16/2023, 7:56 PMDavid Melvin
05/16/2023, 7:56 PMbrach-metadata files in the troubleshooting docs would be dope, but obviously that’s up to y’all 🙂 (maybe it is there, but i didn’t see it in my panic)David Melvin
05/16/2023, 7:57 PMgt feedback --with-debug-context "dmelvin/fix/synced-inputs-long-running-cmd-focus-switch is the old name of my branch. it was pushed to github a while ago and i closed that PR but didn't delete the remote branch. I then ran `git fetch` and git checkout `dmelvin/fix/synced-inputs-long-running-cmd-focus-switch` and `gt branch track`. Then I accidentally ran `gt upstack onto` from a different branch and messed up my `gt ls` (I didn't know I made this mitake until it was too late). Then I `gt branch rename` to my new name. and then I ran `gt branch up` and realized I messed up my setup, and started gettign errors like `ERROR: Cannot read properties of undefined (reading 'branchRevision')` and `ERROR: Could not find branch dmelvin/fix/synced-inputs-long-running-cmd-focus-switch.`""
"
but I’m not sure if it submitted my data b/c all graphite commands were erroringDavid Melvin
05/16/2023, 7:59 PMgt upstack onto dmelvin/fix/synced-inputs-long-running-cmd-focus-switch and got some rebase conflicts, at which point I realized i was rebasing the wrong branch. I ran gt rebase --abort thinking it would stop the whole gt upstack onto, but maybe that’s not true?
And then after that, I tried to rename dmelvin/fix/synced-inputs-long-running-cmd-focus-switch to something else, and I got the standard good output so I thought things were fine.
But every gt command after that mentioned the above errorsDavid Melvin
05/16/2023, 8:19 PMgt repo init again things are mostly working but I find it strange that gt ls isn’t actually showing the branch gt branch checkout says I have checked outDavid Melvin
05/16/2023, 8:20 PMgt branch track fixed it though, so maybe that’s expected behavior