$ git clone -n https://gitee.com/mgb01105731/cockpit.git /var/lib/mock/dist-an23-build-371547-71458/root/chroot_tmpdir/scmroot/cockpit Cloning into '/var/lib/mock/dist-an23-build-371547-71458/root/chroot_tmpdir/scmroot/cockpit'... $ git fetch origin 2e920f6ff735f072d0aa6490f54cde4f89eb1d6b:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/cockpit * [new ref] 2e920f6ff735f072d0aa6490f54cde4f89eb1d6b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2e920f6 fix CVE-2024-2947