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