$ git clone -n https://gitee.com/happy_orange/he-toolkit.git /var/lib/mock/dist-an23-build-166769-58808/root/chroot_tmpdir/scmroot/he-toolkit Cloning into '/var/lib/mock/dist-an23-build-166769-58808/root/chroot_tmpdir/scmroot/he-toolkit'... $ git reset --hard origin/a23 HEAD is now at d63f6e4 init package