$ git clone -n https://gitee.com/mgb01105731/shadow.git /var/lib/mock/dist-an23-build-python3.11-376601-71741/root/chroot_tmpdir/scmroot/shadow Cloning into '/var/lib/mock/dist-an23-build-python3.11-376601-71741/root/chroot_tmpdir/scmroot/shadow'... $ git fetch origin c1e4accd5dd0785c5c8c9d33fe7899045c12f894:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/shadow * [new ref] c1e4accd5dd0785c5c8c9d33fe7899045c12f894 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c1e4acc add provides