$ git clone -n https://gitee.com/src-anolis-dde/golang-github-lofanmi-pinyin.git /var/lib/mock/dist-an8.7-dde-la64-build-146538-57737/root/chroot_tmpdir/scmroot/golang-github-lofanmi-pinyin Cloning into '/var/lib/mock/dist-an8.7-dde-la64-build-146538-57737/root/chroot_tmpdir/scmroot/golang-github-lofanmi-pinyin'... $ git reset --hard origin/a8 HEAD is now at 8cde724 init package