$ git clone -n https://github.com/xcp-ng-rpms/host-upgrade-plugin.git /var/lib/mock/v7.99-base-596-269/root/chroot_tmpdir/scmroot/host-upgrade-plugin Cloning into '/var/lib/mock/v7.99-base-596-269/root/chroot_tmpdir/scmroot/host-upgrade-plugin'... $ git reset --hard e6d02f3da450c416effcdd8b6071d613936da9b9 Downloading SOURCES/host-upgrade-plugin-1.1.6.tar.gz (8.9 KB) HEAD is now at e6d02f3 Add %dist