$ git clone -n https://gitee.com/src-anolis-os/libdwarf.git /var/lib/mock/dist-an23-build-238813-62881/root/chroot_tmpdir/scmroot/libdwarf Cloning into '/var/lib/mock/dist-an23-build-238813-62881/root/chroot_tmpdir/scmroot/libdwarf'... $ git reset --hard origin/a23 HEAD is now at fb4746c Init from upstream