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