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