$ git clone -n https://gitee.com/happy_orange/libcap-ng.git /var/lib/mock/dist-an23-build-227742-62365/root/chroot_tmpdir/scmroot/libcap-ng Cloning into '/var/lib/mock/dist-an23-build-227742-62365/root/chroot_tmpdir/scmroot/libcap-ng'... $ git reset --hard 1322bc6ca61410f5a24b573a231ec58e8ab52547 HEAD is now at 1322bc6 delete the unused scripts