$ git clone -n https://gitee.com/src-anolis-os/nodejs.git /var/lib/mock/dist-an23-build-93836-45466/root/chroot_tmpdir/scmroot/nodejs Cloning into '/var/lib/mock/dist-an23-build-93836-45466/root/chroot_tmpdir/scmroot/nodejs'... $ git reset --hard origin/a23 HEAD is now at 067315a Init upstream nodejs for anolis 23