I have a commit to fix a bug which is to merge on the current release branch.
Track a branch from remote naming release in local.
$ git branch -a $ git branch --track release remotes/origin/releaseMake another branch from release for issue fixing, e.g fix-issue
$ git branch fix-issue release $ git checkout fix-issueMake a change to fix a bug and commit those changes.
Upload changes to differential for reviewer
$ arc diff [It will create a revision number like 'DX', X is a number].If reviewer accept the revision then merge the revision
$ arc land --onto releaseNote: If you skip step 2, and commit change on tracked branch release, then arc land or arc land --onto release will show following error.
Work around is simple. Make a patch for that revision which will create a branch containing those changes.
$ arc patch D123Merge the revision to the release branch
$ arc land arcD123 --onto release
沒有留言:
張貼留言