$ git clone -n https://gitee.com/src-anolis-os/seal.git /var/lib/mock/dist-an23.2-build-433921-73078/root/chroot_tmpdir/scmroot/seal Cloning into '/var/lib/mock/dist-an23.2-build-433921-73078/root/chroot_tmpdir/scmroot/seal'... $ git fetch origin a23.2:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/seal * [new branch] a23.2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 8f46fac !4 fix the head file path Merge pull request !4 from happy_orange/a23