$ git clone -n https://gitee.com/mabofu/dsms-storage.git /var/lib/mock/dist-an23-build-272149-64163/root/chroot_tmpdir/scmroot/dsms-storage Cloning into '/var/lib/mock/dist-an23-build-272149-64163/root/chroot_tmpdir/scmroot/dsms-storage'... $ git fetch origin 9a8b997b1f3619f7123cb5d9e24329f75c6860d3:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms-storage * [new ref] 9a8b997b1f3619f7123cb5d9e24329f75c6860d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 9a8b997b update spec