$ git clone -n https://gitee.com/mabofu/dsms-engine.git /var/lib/mock/dist-an8.7-build-271177-64130/root/chroot_tmpdir/scmroot/dsms-engine Cloning into '/var/lib/mock/dist-an8.7-build-271177-64130/root/chroot_tmpdir/scmroot/dsms-engine'... $ git fetch origin 491f186aa90d3235122bf830e7b6016df3310f29:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms-engine * [new ref] 491f186aa90d3235122bf830e7b6016df3310f29 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 491f186 init package