$ git clone -n https://gitee.com/zhaohang_mskdxl/accel-config.git /var/lib/mock/dist-an23.3-build-413958-72745/root/chroot_tmpdir/scmroot/accel-config Cloning into '/var/lib/mock/dist-an23.3-build-413958-72745/root/chroot_tmpdir/scmroot/accel-config'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/zhaohang_mskdxl/accel-config * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f36a3ac update to accel-config-4.1.8-2