$ git clone -n https://github.com/xcp-ng-rpms/slang.git /var/lib/mock/v8.3-incoming-7370-19920/root/chroot_tmpdir/scmroot/slang Cloning into '/var/lib/mock/v8.3-incoming-7370-19920/root/chroot_tmpdir/scmroot/slang'... $ git reset --hard bbc70fd889e1d1a93b4f340a8e81c7d4a6e88ef3 Downloading SOURCES/slang-2.2.4.tar.bz2 (1.4 MB) HEAD is now at bbc70fd Import slang-2.2.4-11.el7.src.rpm