$ git clone -n https://gitee.com/happy_orange/libcap-ng.git /var/lib/mock/dist-an23-build-225900-62327/root/chroot_tmpdir/scmroot/libcap-ng Cloning into '/var/lib/mock/dist-an23-build-225900-62327/root/chroot_tmpdir/scmroot/libcap-ng'... $ git reset --hard 79a54d50021dfb85f252f4f5611297493eb6a579 HEAD is now at 79a54d5 delete the unused scripts