instructions = instructions.replace("${ticketRef}", ticketBranch);
instructions = instructions.replace("${patchsetRef}", patchsetBranch);
instructions = instructions.replace("${reviewBranch}", reviewBranch);
+ instructions = instructions.replace("${ticketBranch}", ticketBranch);
return instructions;
}
To review an updated patchset
- git fetch && git checkout ${reviewBranch} && git pull --ff-only
+ git fetch && git checkout ${ticketBranch} && git pull --ff-only
To review a rewritten patchset
- git fetch && git checkout ${reviewBranch} && git reset --hard origin/${reviewBranch}
+ git fetch && git checkout ${ticketBranch} && git reset --hard origin/${ticketBranch}