Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (19.4k points)

So I first forked repo and then made a commit to that forked repo. I then opened a pull request. The pull request listed all the changes I wanted.

After reviewing my pull request, there were a number of changes that the repo owner wanted me to make before he accepted it. I have made those changes in my fork, now how do I update the pull request with those changes (or is this not how I should handle it)?

1 Answer

0 votes
by (27.5k points)

These steps should do the magic:

git reset --hard <commit key of the pull request>

Did my changes in code I wanted to do

git add

git commit --amend

git push -f origin <name of the remote branch of pull request>

Browse Categories

...