$ git clone -n https://src.fedoraproject.org/rpms/ibus-libpinyin.git /var/lib/mock/f38-build-722001-98687/root/chroot_tmpdir/scmroot/ibus-libpinyin Cloning into '/var/lib/mock/f38-build-722001-98687/root/chroot_tmpdir/scmroot/ibus-libpinyin'... $ git reset --hard 8a5a0fc1e0c4438748feab85333e5139c55f5133 HEAD is now at 8a5a0fc Rebuild the package