$ git clone -n https://gitee.com/mgb01105731/nginx.git /var/lib/mock/dist-an23-build-466874-73998/root/chroot_tmpdir/scmroot/nginx Cloning into '/var/lib/mock/dist-an23-build-466874-73998/root/chroot_tmpdir/scmroot/nginx'... $ git fetch origin bf7409a0912e8350afd790b384f23b11c4b43e1d:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/nginx * [new ref] bf7409a0912e8350afd790b384f23b11c4b43e1d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at bf7409a Update code from upstream