$ git clone -n https://gitee.com/mgb01105731/capstone.git /var/lib/mock/dist-an23-build-342172-69949/root/chroot_tmpdir/scmroot/capstone Cloning into '/var/lib/mock/dist-an23-build-342172-69949/root/chroot_tmpdir/scmroot/capstone'... $ git fetch origin 25a5e69d8928f9e08808040d1c0a38c6de431788:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/capstone * [new ref] 25a5e69d8928f9e08808040d1c0a38c6de431788 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 25a5e69 rebuild