$ git clone -n https://gitee.com/src-anolis-os/tracker.git /var/lib/mock/dist-an23-build-285801-64822/root/chroot_tmpdir/scmroot/tracker Cloning into '/var/lib/mock/dist-an23-build-285801-64822/root/chroot_tmpdir/scmroot/tracker'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/tracker * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 128cb75 3.5.3