
git
文章平均质量分 53
guagua070707
这个作者很懒,什么都没留下…
展开
-
git 同时使用gitlab和github
开发者经常是公司的gitlab和github同时使用,但是ssh的配置只能配置一个,这种情况该如何处理参考:同一台电脑同时使用gitHub和gitLab - 给你一页白纸 - 博客园但需要将生成github的秘钥添加到ssh-agent中:参考:生成新 SSH 密钥并添加到 ssh-agent - GitHub Docs ssh-add ~/.ssh/id_ed25519权限报错参考:Error: Permission denied (publickey) - GitH原创 2022-03-08 20:10:49 · 1427 阅读 · 1 评论 -
git 多账户
文章参考自:Quick Tip: How to Work with GitHub and Multiple AccountsQuick Tip: How to Work with GitHub and Multiple AccountsSo you have a personalGitHubaccount; everything is working perfectly. But then, you get a new job, and now need to have the abilit..原创 2022-03-08 17:37:01 · 119 阅读 · 0 评论 -
github修改一个仓库的可见性 公有还是私有
参考自:Setting repository visibility - GitHub Docs On GitHub.com, navigate to the main page of the repository. Under your repository name, clickSettings. Under "Danger Zone", to the right of to "Change repository visibility", clickChang...原创 2022-03-07 20:49:16 · 2720 阅读 · 0 评论 -
git 配置用户名和邮箱以及一台电脑github和gitlab同时使用
引用自:https://blog.youkuaiyun.com/xingbaozhen1210/article/details/803422121 . 用户名和邮箱的作用 用户名和邮箱地址是本地git客户端的一个变量 . 用户每次提交代码都会记录用户名和邮箱 .2 . 设置2.1 设置用户名git config --global user.name "username"2.2 设置邮箱 (没有双引号)git config --global user.email useremail@qq.c...翻译 2022-03-07 18:53:37 · 3431 阅读 · 0 评论