$ git clone -n https://src.fedoraproject.org/rpms/autofs.git /var/lib/mock/f40-build-763662-122629/root/chroot_tmpdir/scmroot/autofs Cloning into '/var/lib/mock/f40-build-763662-122629/root/chroot_tmpdir/scmroot/autofs'... $ git reset --hard 03ae4fdc94b5f3c09aaa55491543959a58f1ab2f HEAD is now at 03ae4fd - Also update package revision.