How to get another user's request (to fix it)

We are a team of programmers.

We have a main repo for one project.

One of the programmers in our team made a request to transfer to this repo.

I need to fix his pull request. And I am not the main owner of the repo.

How do I get his code?

When I switch to his account, I don’t see the plug of this repo (maybe it’s closed).

Is this done ?:

$ git remote add <name> <source> # for <source> - link to his pull request
$ git fetch <name>
$ git merge <name>/<branch>
+4
source share
1 answer
  • Add remote indication to other relays / programmer branches:

    git remote add ...
    
  • Create another branch name:

    git branch other_branch
    
  • Change the branch to another:

    git checkout other_branch
    
  • Pull other source locks:

    git pull other_source other_branch
    
  • Fix his code

  • Add and commit changes:

    git add
    git commit
    
  • , pull, .

    , . pull.

+2

All Articles