$ git clone -n https://gitee.com/src-opencloudos-rpms/nmstate.git /var/lib/mock/dist-oc8-build-66515-16910/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-oc8-build-66515-16910/root/chroot_tmpdir/scmroot/nmstate'... $ git fetch origin 5f5afabd6d0c8e2587a454089997dbf0c1a6cb12:KOJI_FETCH_HEAD From https://gitee.com/src-opencloudos-rpms/nmstate * [new ref] 5f5afabd6d0c8e2587a454089997dbf0c1a6cb12 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5f5afab import nmstate-1.4.5-2.tl3