$ git clone -n https://src.fedoraproject.org/rpms/cups.git /var/lib/mock/f40-build-1134102-20405/root/chroot_tmpdir/scmroot/cups Cloning into '/var/lib/mock/f40-build-1134102-20405/root/chroot_tmpdir/scmroot/cups'... $ git fetch origin 0324fab374391b0c0425b98dbbf2d03cd76ca4ad:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/cups * [new ref] 0324fab374391b0c0425b98dbbf2d03cd76ca4ad -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0324fab fix cgiGetTextfield() return value if the original value is invalid