$ git clone -n https://gitee.com/happy_orange/libnvme.git /var/lib/mock/dist-an8.9-build-420027-72835/root/chroot_tmpdir/scmroot/libnvme Cloning into '/var/lib/mock/dist-an8.9-build-420027-72835/root/chroot_tmpdir/scmroot/libnvme'... $ git fetch origin 1f3509c027b8c3b6a322ef29e2d24374eb9d4069:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/libnvme * [new ref] 1f3509c027b8c3b6a322ef29e2d24374eb9d4069 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1f3509c init package