..

git cooperations

  • 更新upstram的新建branch
    git fetch upstream
    git checkout -b new upstream/new
    git push -u origin new
    

拉取pr到本地

git fetch origin pull/$ID/head:$BRANCHNAME
git fetch upstream pull/60/head:fix-UnStakeBUG

拉取更新后的pr

git pull upstream pull/60/head:fix-UnStakeBUG