Korzystanie z Git dla Windows
Jeśli skonfigurujesz Git do pracy wyłącznie z git bash i korzystasz z uwierzytelniania SSH, Git szuka kluczy SSH w katalogu wskazanym przez zmienną środowiskową HOME. Zmienna ta jest zawsze ustawiana przez polecenie git bash.
Jednak zmienna ta zazwyczaj nie jest ustawiona w wierszu poleceń systemu Windows. Gdy uruchamiasz Git z wiersza poleceń systemu Windows, program szuka kluczy SSH w swoim katalogu instalacyjnym, co powoduje niepowodzenie uwierzytelniania.
Zmienną środowiskową ` HOME ` można ustawić w systemie Qt Creator. Przejdź do Preferences > Version Control > Git, a następnie wybierz opcję „ Set "HOME" environment variable ”. Zmienna ` HOME ` zostanie ustawiona na ` %HOMEDRIVE%%HOMEPATH% ` po uruchomieniu pliku wykonywalnego Git, a uwierzytelnianie będzie działać tak samo, jak w przypadku ` git bash`.

Zobacz także : Jak: Korzystać z Git, Porównywać pliki, Konfigurować systemy kontroli wersji oraz Systemy kontroli wersji.
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.