$ git clone -n https://gitee.com/src-anolis-dde/golang-github-nfnt-resize.git /var/lib/mock/dist-an23-build-285934-64822/root/chroot_tmpdir/scmroot/golang-github-nfnt-resize Cloning into '/var/lib/mock/dist-an23-build-285934-64822/root/chroot_tmpdir/scmroot/golang-github-nfnt-resize'... $ git reset --hard origin/a8 HEAD is now at 7260526 rebuild an8.7-dde $ git lfs pull