qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.09k stars 38.89k forks source link

[Bug] warning:The official repository does not seem to be configured as git remote "upstream". #23440

Closed uhkkhilhih closed 6 months ago

uhkkhilhih commented 6 months ago

Describe the Bug

[1*@LAPTOP-*** ~]$ qmk setup
Ψ Found qmk_firmware at C:/Users/18
/qmk_firmware.
Ψ QMK Doctor is checking your environment.
Ψ CLI version: 1.1.5
Ψ QMK home: C:/Users/18***/qmk_firmware
Ψ Detected Windows 10 (10.0.22631).
Ψ QMK MSYS version: 1.9.0
Ψ Userspace enabled: False
Ψ Git branch: master
Ψ Repo version: 0.24.7
⚠ The official repository does not seem to be configured as git remote "upstream". Ψ All dependencies are installed.
Ψ Found arm-none-eabi-gcc version 12.2.0
Ψ Found avr-gcc version 12.2.0
⚠ We do not recommend avr-gcc newer than 8. Downgrading to 8.x is recommended.
Ψ Found avrdude version 7.0
Ψ Found dfu-programmer version 1.1.0
Ψ Found dfu-util version 0.11
Ψ Submodules are up to date.
Ψ Submodule status:
Ψ - lib/chibios: 2023-04-15 13:48:04 +0000 -- (11edb1610)
Ψ - lib/chibios-contrib: 2023-11-27 18:15:44 +0100 -- (9d7a7f90)
Ψ - lib/googletest: 2021-06-11 06:37:43 -0700 -- (e2239ee6)
Ψ - lib/lufa: 2022-08-26 12:09:55 +1000 -- (549b97320)
Ψ - lib/vusb: 2022-06-13 09:18:17 +1000 -- (819dbc1)
Ψ - lib/printf: 2022-06-29 23:59:58 +0300 -- (c2e3b4e)
Ψ - lib/pico-sdk: 2023-02-12 20:19:37 +0100 -- (a3398d8)
Ψ - lib/lvgl: 2022-04-11 04:44:53 -0600 -- (e19410f8)
Ψ QMK is ready to go, but minor problems were found

Keyboard Used

No response

Link to product page (if applicable)

No response

Operating System

No response

qmk doctor Output

No response

Is AutoHotKey / Karabiner installed

Other keyboard-related software installed

No response

Additional Context

how to solve this problem?

fauxpark commented 6 months ago

This is not a bug. You are using some other fork of QMK, not qmk/qmk_firmware. git remote -v will show you.

uhkkhilhih commented 6 months ago

This is not a bug. You are using some other fork of QMK, not qmk/qmk_firmware. git remote -v will show you.

I have asked the GPT and tried "git remote -v",but it didn't work.like this: git remote -v origin https://github.com/qmk/qmk_firmware.git (fetch) origin https://github.com/qmk/qmk_firmware.git (push) upstream https://github.com/qmk/qmk_firmware.git (fetch) upstream https://github.com/qmk/qmk_firmware.git (push)

uhkkhilhih commented 6 months ago

GPT told me to input: git remote rename upstream origin git remote add upstream https://github.com/qmk/qmk_firmware.git but the warning didn't disappear

fauxpark commented 6 months ago

Stop using ChatGPT. It will not help you.

Delete your repo and run qmk setup again.

uhkkhilhih commented 6 months ago

Stop using ChatGPT. It will not help you.

Delete your repo and run qmk setup again. sorry,but how to delete my repo?

fauxpark commented 6 months ago

Do you not know how to delete a folder?

uhkkhilhih commented 6 months ago

Do you not know how to delete a folder? maybe just press the delete key to delete the folder?but I dont know where the repo is

fauxpark commented 6 months ago

qmk setup already told you where it is. You already know this because you have censored your username.

uhkkhilhih commented 6 months ago

qmk setup already told you where it is. You already know this because you have censored your username.

does the repo in the qmk firmware folder?

fauxpark commented 6 months ago

Yes.

uhkkhilhih commented 6 months ago

Yes. does the "repo" means repository? I searched "repo" and only find two documents named "user_repo_v1.jsonschema" and "user_repo_v0.jsonschema",should I delete them? (there are some other documents named "report" but I dont think they are the right documents I need.)

keyboard-magpie commented 6 months ago

Please seek further help on discord if absolutely required https://discord.gg/qmk

Locking this