Open Freed-Wu opened 1 year ago
That's a different kind of token. Did you check whether it works or not?
It can work for me:
[xilinx-cmake]
source = "github"
use_latest_tag = true
github = "Xilinx/cmakeModules"
token = "gho_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
Is there any documentation about ~/.git-credentials
?
There is no mention of ~/.git-credentials
in that doc. I'll try to figure out later myself.
No, no ~/.git-credentials
is created. Instead, ~/.config/gh/hosts.yml
is created.
after
gh auth login
, A~/.git-credentials
will be created:Can we get github token from here? It will be convenient to not need to write token to config toml.