step 1 fork 對方分支,進入repository 點擊fork
step2 進入自己的倉庫
step3 找到 進入這個倉庫 複製倉庫地址 https://github.com/Hx96/LeetCode 這裏名字是你的倉庫
step4 本地 git clone https://github.com/Hx96/LeetCode 這個倉庫
step5 進入倉庫 注意 hx 替換爲你自己的名字,下面也是同理
git checkout -b hx
建立你自己的名字的分支
step6 新建文件夾 新建文件
mkdir hx
cd hx
touch test.md
step7 提交
git add hx
git commit
git push origin hx
添加文件夾 提交 本地,push遠程倉庫
最後一步 進入你自己的倉庫 點擊 pr