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