Aquesta és una versió anterior. La versió actual és la 0.4.2. ghtkn 0.4.2 · Data de publicació:
Fitxers d’instal·lació 0.2.6
| Arquitectura | Tipus | Àmbit | Mida del fitxer | Baixa | SHA256 |
|---|---|---|---|---|---|
| 64 bits | ZIP → Portable | — | — | github.com | VirusTotal |
| ARM64 | ZIP → Portable | — | — | github.com | VirusTotal |
L’enllaç i l’SHA256 provenen del manifest comunitari del Gestor de paquets del Windows. Convé comparar el hash del fitxer baixat abans d’executar-lo.
Notes de la versió
Features
#439 Support GHTKN_GIT_APP to switch the app for Git Credential Helper
#440 Add an app name to error messages and the one-time code prompt
Support GHTKN_GIT_APP to switch the app for Git Credential Helper
Unfortunately, .apps[].git_owner doesn't match when accessing fork repositories.
For instance, when you checkout a pull request from a fork repository by gh pr checkout command and push commits to the fork repository, .apps[].git_owner doesn't work unless you configure fork repositories in ghtkn.yaml.
As of ghtkn v0.2.6, the environment variable GHTKN_GIT_APP is useful.
GHTKN_GIT_APP is similar to GHTKN_APP but it's used for Git Credential Helper.
e.g.
export GHTKN_GIT_APP=suzuki-shunsuke/git
The priority of the app used for Git Credential Helper is as follows:
1. .apps[].git_owner if git credential helper's username matches
2. GHTKN_GIT_APP
3. GHTKN_APP if GHTKN_GIT_APP is not set
4. The default apphttps://github.com/suzuki-shunsuke/ghtkn/releases/tag/v0.2.6