gitdoc icon indicating copy to clipboard operation
gitdoc copied to clipboard

Stuck on Pulling

Open cori opened this issue 4 years ago • 4 comments

under some circumstances (I haven't been able to figure out what the triggers are yet) GitDoc gets stuck pulling - the status bar indicator goes to GitDoc (Pulling...) and stays there indefinitely. I typically have to disable GitDoc, reënable it, and then make a specious change to trigger a checkin.

Do I have something misconfigured?

cori avatar Sep 01 '21 13:09 cori

I've also been having this problem, but I also haven't been able to identify the cause. :(

wcerfgba avatar Sep 12 '21 19:09 wcerfgba

I'm in the same boat. Let's compare notes to find a pattern:

  • I'm on macOS, I'm using VS Code on a remote connection via ssh on linux (Ubuntu)
  • When I initially connect to the remote workspace, the statusbar has "GitDoc: Pulling…" which won't go away
  • I then open the terminal in VS Code, do a git pull, enter the password for my key and let git pull. I won't have to re-enter my password while this workspace remains connected.
  • I then click on "GitDoc: Pulling…" which turns off GitDoc
  • Lastly I turn GitDoc back on via the command GitDoc: Enable (Cmd+Shift+P)
  • From then on GitDoc remains in operation until I disconnect from this workspace

phdoerfler avatar Oct 05 '21 10:10 phdoerfler

Similar - I'm on macOS Big Sur using VS Code 1.60.2. I am connected to a private GitHub repo remotely, but editing files that are local to my machine.

I've not tried any external git commands to see how that effects things, but disabling GitDoc by clicking its status bar indicator (the one that reads GitDoc (pulling...)) and then reenabling it using the Command menu seems to work; I then make a specious change and save it and within a few minutes GitDoc makes the expected commit.

cori avatar Oct 05 '21 13:10 cori

Indeed, this seems to be sufficient:

  1. Click on GitDoc: Pulling… to turn off GitDoc
  2. Turn GitDoc back on via the command GitDoc: Enable
  3. From then on GitDoc seems to remain in operation until the workspace is closed or the connection to it is lost

phdoerfler avatar Oct 07 '21 08:10 phdoerfler