$ git clone -n https://gitee.com/xuchun-shang/kmod-udma.git /var/lib/mock/dist-an8.8-build-299969-65914/root/chroot_tmpdir/scmroot/kmod-udma Cloning into '/var/lib/mock/dist-an8.8-build-299969-65914/root/chroot_tmpdir/scmroot/kmod-udma'... $ git fetch origin 6108aefbd8f9fd34ad2b86f0d68b31fd91df5313:KOJI_FETCH_HEAD From https://gitee.com/xuchun-shang/kmod-udma * [new ref] 6108aefbd8f9fd34ad2b86f0d68b31fd91df5313 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6108aef Init commit