$ git clone -n https://src.fedoraproject.org/rpms/hugo.git /var/lib/mock/f40-build-764907-123318/root/chroot_tmpdir/scmroot/hugo Cloning into '/var/lib/mock/f40-build-764907-123318/root/chroot_tmpdir/scmroot/hugo'... $ git reset --hard 6422c0afe07bc02f44dad009fd322a617f6ab860 HEAD is now at 6422c0a Replace import patches with use of sed