$ git clone -n https://gitee.com/src-anolis-dde/golang-github-alecthomas-template /var/lib/mock/dist-an8.7-dde-build-197641-60933/root/chroot_tmpdir/scmroot/golang-github-alecthomas-template Cloning into '/var/lib/mock/dist-an8.7-dde-build-197641-60933/root/chroot_tmpdir/scmroot/golang-github-alecthomas-template'... $ git reset --hard origin/a8 HEAD is now at 7caab1f build : rebuild