I am relatively new to git and looking for the feedback related to Git command to switch between patch-sets. Here is my scenario:
I am on a branch "test" and working on a particular changeset on the same branch (created by another user). I pulled 3rd patchset from that and started working on it. Now, in the meanwhile same developer has put 4th patch set with some changes on the same files. Now, what GIT command is recommend to move to 4th patchset ( while avoiding merge conflict) and retain my work on latest patch set?
I simply tried running PULL command from Gerrit for that change set but it resulted in a merge conflict. Please advice. Thanks you in advance.