$ git clone -n https://src.fedoraproject.org/rpms/avr-gcc.git /var/lib/mock/f29-build-1809-598/root/thebuilddir/tmp/scmroot/avr-gcc Cloning into '/var/lib/mock/f29-build-1809-598/root/thebuilddir/tmp/scmroot/avr-gcc'... $ git reset --hard eb0a6d0b34e9477d6bf09d22aba368a006d2a6bf HEAD is now at eb0a6d0 update to 7.2.0