$ git clone -n https://gitee.com/src-anolis-os/gvfs.git /var/lib/mock/dist-an23.3-build-427158-73009/root/chroot_tmpdir/scmroot/gvfs Cloning into '/var/lib/mock/dist-an23.3-build-427158-73009/root/chroot_tmpdir/scmroot/gvfs'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/gvfs * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7c81001 update to gvfs-1.54.4