0 votes
1 view
in Devops and Agile by (20k 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 (28.4k 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>

Welcome to Intellipaat Community. Get your technical queries answered by top developers !