$ git clone -n https://src.fedoraproject.org/rpms/klog.git /var/lib/mock/f33-build-343695-59068/root/chroot_tmpdir/scmroot/klog Cloning into '/var/lib/mock/f33-build-343695-59068/root/chroot_tmpdir/scmroot/klog'... $ git reset --hard 30b63ab9732d3d879d0adce71ef090bdb4d8c9ef HEAD is now at 30b63ab Remove uneeded chmod line.