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