$ git clone -n https://gitee.com/wenyuzifang/httpd.git /var/lib/mock/dist-an23-build-462563-73799/root/chroot_tmpdir/scmroot/httpd Cloning into '/var/lib/mock/dist-an23-build-462563-73799/root/chroot_tmpdir/scmroot/httpd'... $ git fetch origin 35bd39c16e51bdc7ed25c5146b1429d0bd3fe6c8:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/httpd * [new ref] 35bd39c16e51bdc7ed25c5146b1429d0bd3fe6c8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 35bd39c Update code from upstream