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