This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
knownhosts [2025/07/31 13:30] – created admin | knownhosts [2025/07/31 17:55] (current) – admin | ||
---|---|---|---|
Line 5: | Line 5: | ||
To prevent this, Git looks inside a file called " | To prevent this, Git looks inside a file called " | ||
- | To remove this error, you have to let your computer detect | + | To remove this error, you have to let your computer detect |
* Go to the application folder of //Git Winch// | * Go to the application folder of //Git Winch// | ||
* Open the Windows CMD window there | * Open the Windows CMD window there | ||
- | * Write down the following: | + | * Write down the following |
| | ||
- | | + | //setknownhost.bat |
| | ||
- | * and press ENTER | + | The above batch file command you need to run is for gitlab.com ... For github.com you will have to give |
+ | |||
+ | // | ||
+ | |||
+ | If you have custom Git Host (e.g. you hosted your own Gitea or Gitlab) then you will need to change the argument of that .bat file from gitlab.com or github.com to the domain name of that Git Host. | ||
+ | |||
+ | |||
+ | |||
+ | ----- | ||
+ | [[/ |