$ git clone -n https://gitee.com/mabofu/dsms-storage.git /var/lib/mock/dist-an8.8-build-276431-64341/root/chroot_tmpdir/scmroot/dsms-storage Cloning into '/var/lib/mock/dist-an8.8-build-276431-64341/root/chroot_tmpdir/scmroot/dsms-storage'... $ git fetch origin 7aa83a3887bb71b4a1f85dba524460a215f2530d:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms-storage * [new ref] 7aa83a3887bb71b4a1f85dba524460a215f2530d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7aa83a388 Init package from upstream