"Pull Requests" and "Issues" have been showing "loading..." for hours
- VS Code Version: 1.54.2
- OS Version: 10.0.19042 Build 19042
Steps to Reproduce:
- Install GitHub Pull Requests and Issues in VSCode
- Authorize with Github
- Go to the Github Section with the tab on the left side
- Pull Requests and Issues have been showing "loading..." for hours
Does this issue occur when all extensions are disabled?: No
Hello,
I facing same behavior as was described above, the extension is still loading.
I can recommend to type the command below into Terminal of VScode
git remote --v
Then you will see the list of active remotes, for example:
C:\Users\User\ProjectName\build>git remote --v
MyRemote https://github.com/SomeOrg/SomeRepo.git (fetch)
MyRemote https://github.com/SomeOrg/SomeRepo..git (push)
origin https://github.com/SomeOrg/SomeRepo. (fetch)
origin https://github.com/SomeOrg/SomeRepo. (push)
If your repository is not on the list you have to add it via
git remote add NAME_OF_REMOTE
https://github.com/<account>/<repo>
for example git remote add origin https://github.com/SomeOrg/SomeRepo
/*************************************************************************************/
If the remote is not there
then you need to add it manually via Add item button
BR, Jan
Hello,
I facing same behavior as was described above, the extension is still loading.
I can recommend to type the command below into Terminal of VScode
git remote --v
Then you will see the list of active remotes, for example:
C:\Users\User\ProjectName\build>git remote --v MyRemote https://github.com/SomeOrg/SomeRepo.git (fetch) MyRemote https://github.com/SomeOrg/SomeRepo..git (push) origin https://github.com/SomeOrg/SomeRepo. (fetch) origin https://github.com/SomeOrg/SomeRepo. (push)If your repository is not on the list you have to add it via
git remote add NAME_OF_REMOTE
https://github.com/<account>/<repo>for example
git remote add origin https://github.com/SomeOrg/SomeRepo/*************************************************************************************/
If the remote is not there
then you need to add it manually via Add item button
BR, Jan
Thanks for sharing. I did what you mentioned but my remotes were already there, remote is origin, and still getting the same errors.
Also not sure if this makes a difference but I have to be on VPN, which I have been connected to access my remotes. Is it possible that can be causing an issue?
@fseminario I have no Idea sorry.
git remote -vYou should see the name on the left hand side. If it is not named origin/upstream the extension will not work. Looking at the extension settings, you can see that is what it is looking for:
To fix the issue, you have to add origin
git remote add origin https://github.com/<account>/<repo>
Just like @wlgrd, @milunova 's solution helped me, don't know why it's marked outdated.
I reinstalled the extension, and it fixed the issue for me.
if all else failed: i got the same issue with "git failed to load" so i moved to my master branch and did
git fetch upstream git checkout master git branch -u upstream/master
pretty sure i have done it before, but once i did it again it worked
