$ git clone -n https://gitee.com/src-anolis-sig/keentuned.git /var/lib/mock/dist-an8.4-keentune-build-60703-33707/root/chroot_tmpdir/scmroot/keentuned Cloning into '/var/lib/mock/dist-an8.4-keentune-build-60703-33707/root/chroot_tmpdir/scmroot/keentuned'... $ git reset --hard origin/dev-1.0.0-5 HEAD is now at fbb84db add vendor to tar.gz