$ git clone -n https://gitee.com/wency_cn/gspell.git /var/lib/mock/dist-an23-build-502001-74794/root/chroot_tmpdir/scmroot/gspell Cloning into '/var/lib/mock/dist-an23-build-502001-74794/root/chroot_tmpdir/scmroot/gspell'... $ git fetch origin d45b30f48dce4008667d31c6ea1379fc06ab18d3:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/gspell * [new ref] d45b30f48dce4008667d31c6ea1379fc06ab18d3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at d45b30f Update code from upstream