当前位置:   article > 正文

git 日常工作_git clone password

git clone password

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 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/878889
推荐阅读
相关标签
  

闽ICP备14008679号