$ git clone -n https://src.fedoraproject.org/rpms/restic.git /var/lib/mock/f41-build-848159-164384/root/chroot_tmpdir/scmroot/restic Cloning into '/var/lib/mock/f41-build-848159-164384/root/chroot_tmpdir/scmroot/restic'... $ git fetch origin 17e62fc3cbed0569ed5af4b6454b86ad838eb7a9:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/restic * [new ref] 17e62fc3cbed0569ed5af4b6454b86ad838eb7a9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 17e62fc Update to 0.17.0 - Closes rhbz#2258380 rhbz#2292718 rhbz#2255107