$ git clone -n https://gitee.com/mgb01105731/mcstrans.git /var/lib/mock/dist-an23.2-build-422646-72922/root/chroot_tmpdir/scmroot/mcstrans Cloning into '/var/lib/mock/dist-an23.2-build-422646-72922/root/chroot_tmpdir/scmroot/mcstrans'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/mcstrans * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7b0be7e Update to 3.8 from 3.5