$ git clone -n https://gitee.com/lxpzlm/nmstate.git /var/lib/mock/dist-an8.6-build-171022-58896/root/chroot_tmpdir/scmroot/nmstate Cloning into '/var/lib/mock/dist-an8.6-build-171022-58896/root/chroot_tmpdir/scmroot/nmstate'... $ git reset --hard 48ba7055d2e27650534c77189727ef712bdcb55d HEAD is now at 48ba705 spec: add doc sub package