$ git clone -n https://src.fedoraproject.org/rpms/autorestic.git /var/lib/mock/f42-build-866220-173809/root/chroot_tmpdir/scmroot/autorestic Cloning into '/var/lib/mock/f42-build-866220-173809/root/chroot_tmpdir/scmroot/autorestic'... $ git fetch origin 323324015a2b4524dd1dd0a5f744c4b038fab33c:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/autorestic * [new ref] 323324015a2b4524dd1dd0a5f744c4b038fab33c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3233240 Update to 1.8.3 upstream release