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