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