$ git clone -n https://gitee.com/src-anolis-dde/gocode.git /var/lib/mock/dist-an23-dde-build-297657-65795/root/chroot_tmpdir/scmroot/gocode Cloning into '/var/lib/mock/dist-an23-dde-build-297657-65795/root/chroot_tmpdir/scmroot/gocode'... $ git reset --hard origin/a23 HEAD is now at 263c213 Specification spec file $ git lfs pull