$ git clone -n https://gitee.com/mgb01105731/cockpit.git /var/lib/mock/dist-an23-build-370670-71427/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/dist-an23-build-370670-71427/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 a57f162 update to 314