赞
踩
git clone http://邮箱(或用户名):密码@仓库
邮箱 email@qq.com
密码: password
仓库: http://123.com/abc/demo
git clone
http://
email%40qq.com:password
@
123.com/abc/demo
账号为邮箱的 需要把@ 换为%40
密码含有特殊字符的进行urlencode
公司规定 每三个月换一次密码
Remote: HTTP Basic: Access denied. The provided password or token is incorrect or your account has 2FA enabled and you must use a personal access token instead of a password.
查看所有配置
git config --list
查看原始url
git config --get remote.origin.url
密码修改后重新编辑
git config remote.origin.url "https://..."
Cherry-pick 提交指定功能代码
Revert Commit 发布失败撤回代码
Interactively Rebase from Here 合并长周期多commit
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。