$ git clone -n https://gitee.com/lzq11122/arm-trusted-firmware.git /var/lib/mock/dist-an23-build-451155-73471/root/chroot_tmpdir/scmroot/arm-trusted-firmware Cloning into '/var/lib/mock/dist-an23-build-451155-73471/root/chroot_tmpdir/scmroot/arm-trusted-firmware'... $ git fetch origin da417ad5358aa35315b316f709a841573402a462:KOJI_FETCH_HEAD From https://gitee.com/lzq11122/arm-trusted-firmware * [new ref] da417ad5358aa35315b316f709a841573402a462 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at da417ad .