📌  相关文章
📜  remote:对密码身份验证的支持已于 2021 年 8 月 13 日移除.请改用个人访问令牌. - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:37.988000             🧑  作者: Mango

代码示例3
# Install new Github CLI
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh

# Login
gh auth login