microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.27k stars 29.31k forks source link

can't push to github #122731

Closed keno-kayknow closed 3 years ago

keno-kayknow commented 3 years ago

Issue Type: Bug

Looking for git in: C:\Program Files\Git\cmd\git.exe Using git 2.28.0.windows.1 from C:\Program Files\Git\cmd\git.exe

git rev-parse --git-dir Open repository: c:\Users\HP\Desktop\bright git fetch git status -z -u git symbolic-ref --short HEAD git for-each-ref --format=%(refname)%00%(upstream:short)%00%(upstream:track)%00%(objectname) refs/heads/master refs/remotes/master git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(objectname) git remote --verbose git config --get commit.template git status -z -u git symbolic-ref --short HEAD git for-each-ref --format=%(refname)%00%(upstream:short)%00%(upstream:track)%00%(objectname) refs/heads/master refs/remotes/master git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(objectname) git remote --verbose git config --get commit.template git check-ignore -v -z --stdin git status -z -u git symbolic-ref --short HEAD git for-each-ref --format=%(refname)%00%(upstream:short)%00%(upstream:track)%00%(objectname) refs/heads/master refs/remotes/master git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(objectname) git remote --verbose git config --get commit.template git check-ignore -v -z --stdin git add -A -- C:\Users\HP\Desktop\bright\img\MWGV0630.JPG C:\Users\HP\Desktop\bright\img\b0xer222.JPG C:\Users\HP\Desktop\bright\img\banner.JPG C:\Users\HP\Desktop\bright\img\banner2.JPG C:\Users\HP\Desktop\bright\img\banner3.JPG C:\Users\HP\Desktop\bright\img\banner4.JPG C:\Users\HP\Desktop\bright\img\boxer1.JPG C:\Users\HP\Desktop\bright\img\boxer2.JPG C:\Users\HP\Desktop\bright\img\boxer22.JPG C:\Users\HP\Desktop\bright\img\boxer2222.JPG C:\Users\HP\Desktop\bright\img\icon.webp C:\Users\HP\Desktop\bright\img\logo.JPG C:\Users\HP\Desktop\bright\img\polo.JPG C:\Users\HP\Desktop\bright\img\polo1.JPG C:\Users\HP\Desktop\bright\img\polo2.JPG C:\Users\HP\Desktop\bright\img\polo3.JPG C:\Users\HP\Desktop\bright\img\polo4.JPG C:\Users\HP\Desktop\bright\img\polo5.JPG C:\Users\HP\Desktop\bright\img\shorts.JPG C:\Users\HP\Desktop\bright\img\shorts2.JPG C:\Users\HP\Desktop\bright\index.html C:\Users\HP\Desktop\bright\script.js C:\Users\HP\Desktop\bright\style.css git status -z -u git symbolic-ref --short HEAD git for-each-ref --format=%(refname)%00%(upstream:short)%00%(upstream:track)%00%(objectname) refs/heads/master refs/remotes/master git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(objectname) git remote --verbose git config --get commit.template git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - git status -z -u git symbolic-ref --short HEAD git for-each-ref --format=%(refname)%00%(upstream:short)%00%(upstream:track)%00%(objectname) refs/heads/master refs/remotes/master git for-each-ref --sort -committerdate --format %(refname) %(objectname) %(*objectname) git remote --verbose Warning: Failed to watch ref 'c:\Users\HP\Desktop\bright.git\refs\remotes\origin\master', is most likely packed. git config --get commit.template git config --get commit.template git log --oneline --cherry master...master@{upstream} -- fatal: no such branch: 'master...master' git pull --tags origin master fatal: couldn't find remote ref master

VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z) OS version: Windows_NT x64 10.0.18363

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i5-3437U CPU @ 1.90GHz (4 x 2395)| |GPU Status|2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled| |Load (avg)|undefined| |Memory (System)|3.87GB (1.27GB free)| |Process Argv|--crash-reporter-id a9bb5ded-1fcb-4915-af73-21752f5c728a| |Screen Reader|no| |VM|0%|
Extensions (2) Extension|Author (truncated)|Version ---|---|--- LiveServer|rit|5.6.1 vscode-icons|vsc|11.2.0 (2 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vsreu685:30147344 python383cf:30185419 pythonvspyt602:30294772 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstry244:30276681 pythonvspyt639:30291489 pythontb:30283811 vspre833cf:30267465 pythonptprofiler:30281270 vshan820:30294714 pythondataviewer:30285071 vscus158cf:30286554 vscgsv2ct:30294353 ```
vscodebot[bot] commented 3 years ago

(Experimental duplicate detection) Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

lramos15 commented 3 years ago

Seems like an issue with the way your repo is configured. Feel free to reopen the issue if you're able to commit from the command line but not from within VS code