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