$ git clone -n https://src.fedoraproject.org/rpms/rsgain.git /var/lib/mock/f41-build-835753-158633/root/chroot_tmpdir/scmroot/rsgain Cloning into '/var/lib/mock/f41-build-835753-158633/root/chroot_tmpdir/scmroot/rsgain'... $ git fetch origin dfe8689b64fde374a5a12f6328b3979fcbb11e79:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/rsgain * [new ref] dfe8689b64fde374a5a12f6328b3979fcbb11e79 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dfe8689 Update to version 3.5.2.