$ git clone -n https://src.fedoraproject.org/rpms/glib2.git /var/lib/mock/f41-build-side-1-3079850-38944/root/chroot_tmpdir/scmroot/glib2 Cloning into '/var/lib/mock/f41-build-side-1-3079850-38944/root/chroot_tmpdir/scmroot/glib2'... $ git fetch origin c1eb162ce92a307ed5caa33d362bbfcef8e40d21:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/glib2 * [new ref] c1eb162ce92a307ed5caa33d362bbfcef8e40d21 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c1eb162 Update to 2.82.2