Skip to content
Discussion options

You must be logged in to vote

可以把token直接添加远程仓库链接中,这样就可以避免同一个仓库每次提交代码都要输入token了:
git remote set-url origin https://<your_token>@github.com/<USERNAME>/<REPO>.git

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by xiao-ice
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants