$ git clone -n https://github.com/xcp-ng-rpms/xcp-ng-generic-lib.git /var/lib/mock/v8.0-base-1294-544/root/chroot_tmpdir/scmroot/xcp-ng-generic-lib Cloning into '/var/lib/mock/v8.0-base-1294-544/root/chroot_tmpdir/scmroot/xcp-ng-generic-lib'... $ git reset --hard 2e70f072542d866e2633694d014da752172d7f51 Downloading SOURCES/xcp-ng-generic-lib-1.0.0.tar.gz (18 KB) HEAD is now at 2e70f07 add initial sources + spec file