$ git clone -n https://src.fedoraproject.org/rpms/autorestic.git /var/lib/mock/f40-build-746530-112716/root/chroot_tmpdir/scmroot/autorestic Cloning into '/var/lib/mock/f40-build-746530-112716/root/chroot_tmpdir/scmroot/autorestic'... $ git fetch origin e4a2c84c025ff22f901433530a86881dd21a6b32:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/autorestic * [new ref] e4a2c84c025ff22f901433530a86881dd21a6b32 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e4a2c84 Update to 1.7.9