$ git clone -n https://src.fedoraproject.org/rpms/parlaylib.git /var/lib/mock/f40-build-805210-144734/root/chroot_tmpdir/scmroot/parlaylib Cloning into '/var/lib/mock/f40-build-805210-144734/root/chroot_tmpdir/scmroot/parlaylib'... $ git fetch origin d5cce5b0dc886ce03c51599e1c3d1ea70ca37bf5:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/parlaylib * [new ref] d5cce5b0dc886ce03c51599e1c3d1ea70ca37bf5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d5cce5b Update to new version