$ git clone -n https://gitee.com/mgb01105731/lldpad.git /var/lib/mock/dist-an23-build-138646-51771/root/chroot_tmpdir/scmroot/lldpad Cloning into '/var/lib/mock/dist-an23-build-138646-51771/root/chroot_tmpdir/scmroot/lldpad'... $ git reset --hard origin/a23 HEAD is now at 7c18917 optimise spec file & add doc package