Git & Github
- Learn Git Branching(强推): [zh-cn]
- Pro Git 中文版
- Git lfs install
- Gitchat: [zh]
- Git规范化提交
- 第一次参与开源项目,如何提交pr: [Github: zh-cn] | [mmcv contribution]
- 给 Github Desktop 设置代理
- clone远程仓库的指定分支
git clone -b + 要clone的分支名 + 仓库地址 # eg: git clone -b dev git@github.com:CS-BAOYAN/CSBasicKnowledge.git
- SSH key的生成:
- 检查SSH key是否存在:
ls -al ~/.ssh # Lists the files in your .ssh directory, if they exist
- 生成SSH key, 会在/your_home_path/.ssh/生成id_rsa和id_rsa.pub
ssh-keygen -t rsa -C "your_email@example.com" # Creates a new ssh key using the provided email Generating public/private rsa key pair. Enter file in which to save the key (/your_home_path/.ssh/id_rsa):
- 检查SSH key是否存在: