$ git clone -n https://src.fedoraproject.org/rpms/gcc.git /var/lib/mock/f33-build-633035-68456/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/f33-build-633035-68456/root/chroot_tmpdir/scmroot/gcc'... $ git reset --hard c75889d28c552bf69d6cffa171500c845218e6aa HEAD is now at c75889d 12.1.1-3