github Pull Request流程

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

 

最後如果更新遠程庫 https://www.cnblogs.com/eyunhua/p/8463200.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章