$ git clone -n https://gitee.com/mabofu/dsms-storage.git /var/lib/mock/dist-an23-build-276409-64359/root/chroot_tmpdir/scmroot/dsms-storage Cloning into '/var/lib/mock/dist-an23-build-276409-64359/root/chroot_tmpdir/scmroot/dsms-storage'... $ git fetch origin b80c2c7a6258bf54cb1c4723ea82ff612adbc34e:KOJI_FETCH_HEAD From https://gitee.com/mabofu/dsms-storage * [new ref] b80c2c7a6258bf54cb1c4723ea82ff612adbc34e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b80c2c7a6 Init package from upstream