$ git clone -n https://gitee.com/src-anolis-os/libavc1394.git /var/lib/mock/dist-an23-build-240659-63003/root/chroot_tmpdir/scmroot/libavc1394 Cloning into '/var/lib/mock/dist-an23-build-240659-63003/root/chroot_tmpdir/scmroot/libavc1394'... $ git reset --hard origin/a23 HEAD is now at 9a5433b init from upstream