$ git clone -n https://src.fedoraproject.org/rpms/cockatrice.git /var/lib/mock/f33-build-176781-44554/root/chroot_tmpdir/scmroot/cockatrice Cloning into '/var/lib/mock/f33-build-176781-44554/root/chroot_tmpdir/scmroot/cockatrice'... $ git reset --hard aa3b7c7b87d2eac37ad7e14d6467d731b5e3dc26 HEAD is now at aa3b7c7 new upstream version