[英]How to use a password manager to provide personal access token to git push/pull
[英]How to push to branch in Github with personal token?
我正在尝试使用个人令牌推送到我的分支,但它说Everything up-to-date
,这是不正确的。 在我的分支test_branch
中,我跑了:
git remote set-url origin https://${GIT_TOKEN_TEST}@github.com/user/repository.git
然后:
git push -u origin test_branch
Branch 'test_branch' set up to track remote branch 'test_branch' from 'origin'.
Everything up-to-date
我做错了什么?
尝试git config user.password YOUR_TOKEN
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.