$ git clone -n https://gitee.com/mgb01105731/cockpit.git /var/lib/mock/dist-an23-build-370742-71458/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/dist-an23-build-370742-71458/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin a23.0:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/cockpit * [new branch] a23.0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4882af4 update to 314