VisualStudio icon indicating copy to clipboard operation
VisualStudio copied to clipboard

Can't push my changes to GitHub repository or sync

Open BloodyHell619 opened this issue 4 years ago • 0 comments

When I try to push my changes to GitHub using VS Code, I get this error:

Warning: Failed to watch ref 'k:\******\.git\refs\remotes\origin\main', is most likely packed.
> git config --get commit.template
> git config --get commit.template
> git ls-files --stage -- K:\*****\userChrome.css
> git cat-file -s ec107ff1e90979f0c9ab8b80ac76657a94a0b055
> git show --textconv :userChrome.css
> git status -z -u
> git symbolic-ref --short HEAD
> git for-each-ref --format=%(refname)%00%(upstream:short)%00%(objectname)%00%(upstream:track) refs/heads/main refs/remotes/main
> git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname)
> git remote --verbose

and it just seems to be trying to sync forever and nothing happens. Can anyone help me?

BloodyHell619 avatar Jul 07 '21 15:07 BloodyHell619