$ git clone -n https://github.com/xcp-ng-rpms/netdata.git /var/lib/mock/v8.0-netdata-1494-846/root/chroot_tmpdir/scmroot/netdata Cloning into '/var/lib/mock/v8.0-netdata-1494-846/root/chroot_tmpdir/scmroot/netdata'... $ git reset --hard 0e4e8ccd79c4385653d3ecb153a7f953e1768e9a Downloading SOURCES/netdata-1.16.1.tar.gz (3.3 MB) HEAD is now at 0e4e8cc Import netdata 1.16.1 from spec file and tar.gz