$ git clone -n https://gitee.com/mgb01105731/python-build.git /var/lib/mock/dist-an23.3-build-494442-74591/root/chroot_tmpdir/scmroot/python-build Cloning into '/var/lib/mock/dist-an23.3-build-494442-74591/root/chroot_tmpdir/scmroot/python-build'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/python-build * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e4438eb update to 1.2.1