I'm the owner of repository A.
My Collage created a fork from my repository (AFork) and made a Pull request or Commits A, B and C (In that order).
I reviewed his changes and found that i only wont to merge the changes of commit C without the changes that parts of commit A and B.
I understand that i can not do that with GitHub website and i have to use the Git command line.
I investigated, and found something called "cherry-pick" but for some reason i can not figure out whats are the exact steps i have to do.
What i tried is:
- Connecting to the fork and pulling everything to a separate directory.
- from the above directory (of the fork) i typed: git cherry-pick [long-hash of the C commit here]
i got the following error:
The previous cherry-pick is now empty, possibly due to conflict resolution
How can i fix that or what should i do to accomplish what i want to do?
Will be help if someone will write the exact steps that i have to do including command line examples.